mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2026-05-12 20:55:45 +00:00
- Introduce THREADX_SMP option in root CMakeLists.txt. - Implement conditional source and port directory selection for SMP builds. - Add CMake support for common_smp and Cortex-A9 SMP port. - Fix linker flags in Cortex-A9 SMP sample build script. - Remove duplicate invalidateCaches_IS declarations in v7.h headers. Assisted-by: Gemini (Experimental)
14 lines
335 B
CMake
14 lines
335 B
CMake
# Name of the target
|
|
set(CMAKE_SYSTEM_NAME Generic)
|
|
set(CMAKE_SYSTEM_PROCESSOR cortex-a9)
|
|
|
|
set(THREADX_ARCH "cortex_a9")
|
|
set(THREADX_TOOLCHAIN "gnu")
|
|
|
|
set(MCPU_FLAGS "-marm -mcpu=cortex-a9")
|
|
set(VFP_FLAGS "")
|
|
set(SPEC_FLAGS "--specs=nosys.specs")
|
|
# set(LD_FLAGS "-nostartfiles")
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)
|