arch: x86: set output format/arch per arch
Instead of doing this per platform, set the output format and arch on architecture level. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
368826e951
commit
9426a3cbf9
4 changed files with 10 additions and 18 deletions
|
@ -4,9 +4,6 @@ zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|||
zephyr_cc_option(-march=pentium)
|
||||
|
||||
if(CONFIG_X86_IAMCU)
|
||||
set_property(GLOBAL APPEND PROPERTY PROPERTY_LINKER_SCRIPT_DEFINES -D__IAMCU)
|
||||
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT "elf32-iamcu")
|
||||
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_ARCH "iamcu:intel")
|
||||
zephyr_cc_option(-msoft-float)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue