Introduce empty overlay boot file and improve task name
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "all",
|
||||
"label": "Build Libary and Tools",
|
||||
"type": "shell",
|
||||
"command": "./build_all.bat ${input:target}",
|
||||
"group": {
|
||||
|
@@ -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)
|
||||
|
9
src/Library/src/BootLoader/boot_file/overlay_boot.cpp
Normal file
9
src/Library/src/BootLoader/boot_file/overlay_boot.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "../../../include/BootLoader/boot_loader.hpp"
|
||||
#include <stdio.h>
|
||||
|
||||
namespace BootFile {
|
||||
JabyEngine::NextRoutine setup() {
|
||||
printf("Overlay boot not implemented!\n");
|
||||
return JabyEngine::NextRoutine::null();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user