Improve custom configuration support
This commit is contained in:
@@ -10,14 +10,8 @@ SPLASH_IMAGE_NTSC = src/BootLoader/splash_image_ntsc_boot.hpp
|
||||
CCFLAGS += -Iinclude -I../../include -D__friends=public
|
||||
CCFLAGS += -save-temps=obj
|
||||
|
||||
ifdef CUSTOM_CONFIG
|
||||
#TODO: Custom config build var
|
||||
CCFLAGS += -I../../config/$(CUSTOM_CONFIG) -imacros ../../config/$(CUSTOM_CONFIG)/jabyengine_custom_defines.hpp
|
||||
#TODO: v Or here? v Do we want this here?
|
||||
CONFIG_NAME = $(PLATFORM)-$(BUILD_PROFILE)/$(CUSTOM_CONFIG)
|
||||
else
|
||||
CONFIG_NAME = $(PLATFORM)-$(BUILD_PROFILE)
|
||||
endif
|
||||
include ../../mkfile/common/CustomConfigHelper.mk
|
||||
CONFIG_NAME = $(PLATFORM)-$(BUILD_PROFILE)/$(CUSTOM_CONFIG)
|
||||
|
||||
include ../../mkfile/Wildcard.mk
|
||||
SRCS = $(call rwildcard, src, c cpp s)
|
||||
|
||||
Reference in New Issue
Block a user