2016-01-21 13:10:59 +08:00
|
|
|
|
2016-01-13 20:49:42 +08:00
|
|
|
arch-cflags += $(call cc-option,-mthumb -mcpu=cortex-m3) \
|
2016-01-21 13:10:59 +08:00
|
|
|
$(call cc-option,-mthumb -march=armv7-m)
|
|
|
|
|
2016-01-13 20:49:42 +08:00
|
|
|
KBUILD_AFLAGS += $(arch-cflags)
|
|
|
|
KBUILD_CXXFLAGS += $(arch-cflags)
|
|
|
|
KBUILD_CFLAGS += $(arch-cflags)
|