build: Introduce concept of SoC specific build flags
Introduce a soc-cflags, soc-cxxflags, and soc-aflags as a means for SoC specific compiler flags to be set without manipulating Kbuild options directly. Change-Id: I2c8f5019fb237429e59717ef96bd4251a61dc1a5 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7753e335f7
commit
6102427e5d
17 changed files with 48 additions and 78 deletions
|
@ -1,7 +1,2 @@
|
|||
|
||||
arch-cflags = $(call cc-option,-mARCv2EM) \
|
||||
soc-cflags = $(call cc-option,-mARCv2EM) \
|
||||
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
|
||||
|
||||
KBUILD_AFLAGS += $(arch-cflags)
|
||||
KBUILD_CFLAGS += $(arch-cflags)
|
||||
KBUILD_CXXFLAGS += $(arch-cflags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue