1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #451 from OlegHahm/mc1322x_check

Fixes check for Mc1322x  CPU in arm_common
This commit is contained in:
Thomas Eichinger 2013-12-19 06:34:58 -08:00
commit aa84138531
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -174,7 +174,7 @@ void bootloader(void)
bl_init_clks();
/* initialize bss and data */
#if CPU != mc1322x
#ifndef CPU_MC1322X
bl_init_data();
#endif