forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Merged n times arch_x86_Y libs into soc_x86 and arch_x86
Fixes: zephyrproject-rtos#8441 This commit merges the multiple sub libraries under soc_x86 and arch_x86, e.g. arch_x86_Y_Z into a single arch_x86 libraries. It also moves arch related stray files from libzephyr.a and places them inside the arch_${ARCH} library, see zephyrproject-rtos#8826. Signed-off-by: Torsten Rasmussen <[email protected]>
- Loading branch information
Showing
10 changed files
with
54 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
zephyr_library() | ||
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) | ||
target_include_directories(soc_x86 PRIVATE ${ZEPHYR_BASE}/drivers) | ||
|
||
zephyr_cc_option(-march=silvermont) | ||
zephyr_cc_option_fallback(-march=atom -mtune=silvermont) | ||
|
||
zephyr_library_sources(soc.c) | ||
target_sources(soc_x86 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/soc.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
zephyr_library() | ||
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) | ||
target_include_directories(soc_x86 PRIVATE ${ZEPHYR_BASE}/drivers) | ||
|
||
zephyr_cc_option(-march=atom) | ||
zephyr_cc_option_fallback(-mtune=atom -mtune=generic) | ||
|
||
zephyr_library_sources(soc.c) | ||
target_sources(soc_x86 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/soc.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
zephyr_library() | ||
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) | ||
target_include_directories(soc_x86 PRIVATE ${ZEPHYR_BASE}/drivers) | ||
|
||
zephyr_cc_option(-march=pentium) | ||
|
||
if(CONFIG_X86_IAMCU) | ||
zephyr_cc_option(-msoft-float) | ||
endif() | ||
|
||
zephyr_library_sources(soc.c) | ||
target_sources(soc_x86 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/soc.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
|
||
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) | ||
target_include_directories(soc_x86 PRIVATE ${ZEPHYR_BASE}/drivers) | ||
|
||
zephyr_cc_option(-march=lakemont -mtune=lakemont -msoft-float) | ||
|
||
zephyr_sources(soc.c) | ||
target_sources(soc_x86 PRIVATE ${CMAKE_CURRENT_LIST_DIR}/soc.c) |