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:
commit
aa84138531
@ -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!
|
||||
|
||||
@ -174,7 +174,7 @@ void bootloader(void)
|
||||
bl_init_clks();
|
||||
|
||||
/* initialize bss and data */
|
||||
#if CPU != mc1322x
|
||||
#ifndef CPU_MC1322X
|
||||
bl_init_data();
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user