zephyr/arch/x86/soc/ia32/CMakeLists.txt

14 lines
459 B
CMake

zephyr_library()
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/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()
zephyr_library_sources(soc.c)