diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -124,6 +124,12 @@ gccincdir := $(shell $(CC) -print-file-name=include) CPPFLAGS := $(DBGFLAGS) $(OPTFLAGS) $(RELFLAGS) \ -D__KERNEL__ + +ifneq ($(BOOT_MEDIA),) + BOOT_MEDIA_MACRO = BOOT_MEDIA_$(shell echo $(BOOT_MEDIA) | tr '[a-z]' '[A-Z]') + CPPFLAGS += -D$(BOOT_MEDIA_MACRO) +endif + ifneq ($(TEXT_BASE),) CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) endif |