1
0

Add simple config system for both #ifdef's and conditional compilation

This commit is contained in:
2012-10-03 00:19:28 -04:00
parent 736155ce99
commit 3876937ae9
5 changed files with 48 additions and 9 deletions

View File

@ -3,13 +3,18 @@ SUBDIRS :=
include $(BASEDIR)/header.mk
OBJS_$(d) := $(d)/pl011.o \
OBJS_$(d)_$(CONFIG_VEXPRESS_A9) := \
$(d)/pl011.o \
$(d)/pl111.o
OBJS_$(d)_$(CONFIG_INTEGRATOR_CP) := \
$(d)/pl110.o \
$(d)/pl111.o \
OBJS_$(d)_$(CONFIG_RPI) := \
$(d)/pi_mini_uart.o \
$(d)/bcm2835_mailbox.o \
$(d)/bcm2835_videocore.o
KOBJS += $(OBJS_$(d))
KOBJS += $(OBJS_$(d)_y)
include $(BASEDIR)/footer.mk