Fix BOARD macro

dev/timer
Martin Lenders 9 years ago
parent e7c3282886
commit c26f2c9d70

@ -27,7 +27,7 @@ endif
# if you want to publish the board into the sources as an uppercase #define
BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z'|tr '-' '_')
CPUDEF = $(shell echo $(CPU)|tr 'a-z' 'A-Z'|tr '-' '_')
CFLAGS += -DBOARD=$(BB) -DCPU_$(CPUDEF)
CFLAGS += -DBOARD_$(BB) -DCPU_$(CPUDEF)
export CFLAGS

Loading…
Cancel
Save