This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
6102427e5d
zephyr
/
arch
/
arm
/
soc
/
ti_lm3s6965
/
Makefile
3 lines
101 B
Makefile
Raw
Normal View
History
Unescape
Escape
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>
2016-05-26 23:32:04 +08:00
soc-cflags
=
$(
call cc-option,-mthumb -mcpu
=
cortex-m3
)
\
Revert "arch: arm: set the architecture via Kconfig" This reverts commit 3f6884902b7e3cd780ac3e99d381c5fab1fe0e71. This commit does not work as intended: the part in arch/arm/Makefile gets ignored and -mcpu=cortex-m3/4 does not get passed to gcc. It seems that the zephyr toolchain does not care, but the vxworks assembler chokes if it is missing, and thinks the CPU does not support thumb ISA Change-Id: I14d11d3e22dac4952bdab3eb9e2d1c36b1a686c2 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-03-11 05:29:22 +08:00
$(
call cc-option,-mthumb -march
=
armv7-m
)