Introduce empty overlay boot file and improve task name
This commit is contained in:
@@ -16,8 +16,9 @@ SRCS += src/syscall_printf.asm
|
||||
include ../../lib/Makefile
|
||||
LIB_DIR = ../../lib/$(CONFIG_NAME)
|
||||
|
||||
MAIN_BOOT_OBJ = $(filter %/main_boot.o,$(OBJS))
|
||||
MAIN_LIB_OBJS = $(filter-out $(MAIN_BOOT_OBJ),$(OBJS))
|
||||
MAIN_BOOT_OBJ = $(filter %/main_boot.o,$(OBJS))
|
||||
OVERLAY_BOOT_OBJ = $(filter %/overlay_boot.o,$(OBJS))
|
||||
MAIN_LIB_OBJS = $(filter-out $(MAIN_BOOT_OBJ) $(OVERLAY_BOOT_OBJ),$(OBJS))
|
||||
|
||||
#$(info $$var is [${MAIN_BOOT_OBJ}])
|
||||
#$(info $$var2 is [${MAIN_LIB_OBJS}])
|
||||
@@ -36,6 +37,10 @@ $(LIB_DIR)/$(notdir $(MAIN_BOOT_OBJ)): $(MAIN_BOOT_OBJ)
|
||||
@mkdir -p $(LIB_DIR)
|
||||
cp $(MAIN_BOOT_OBJ) $(LIB_DIR)/$(notdir $(MAIN_BOOT_OBJ))
|
||||
|
||||
$(LIB_DIR)/$(notdir $(OVERLAY_BOOT_OBJ)): $(OVERLAY_BOOT_OBJ)
|
||||
@mkdir -p $(LIB_DIR)
|
||||
cp $(OVERLAY_BOOT_OBJ) $(LIB_DIR)/$(notdir $(OVERLAY_BOOT_OBJ))
|
||||
|
||||
# Improve later
|
||||
$(SPLASH_IMAGE): ressources/Splash.png
|
||||
jaby_engine_fconv $< simple-tim full16 | cpp_out --name SplashScreen -o $@
|
||||
@@ -44,7 +49,7 @@ $(SPLASH_IMAGE_NTSC): ressources/Splash_ntsc.png
|
||||
jaby_engine_fconv $< simple-tim full16 | cpp_out --name SplashScreen -o $@
|
||||
|
||||
#Rules section for default compilation and linking
|
||||
all: $(SPLASH_IMAGE) $(SPLASH_IMAGE_NTSC) $(LIB_DIR)/$(ARTIFACT).a $(LIB_DIR)/$(notdir $(MAIN_BOOT_OBJ))
|
||||
all: $(SPLASH_IMAGE) $(SPLASH_IMAGE_NTSC) $(LIB_DIR)/$(ARTIFACT).a $(LIB_DIR)/$(notdir $(MAIN_BOOT_OBJ)) $(LIB_DIR)/$(notdir $(OVERLAY_BOOT_OBJ))
|
||||
|
||||
clean:
|
||||
rm -fr $(SPLASH_IMAGE)
|
||||
|
Reference in New Issue
Block a user