nuttx/cmake
guoshichao 38e5cbead0 ghs: move the -fmacro-prefix-map compile option to compiler specific
the -fmacro-prefix-map compile option is gcc/clang/armclang specific
compile option, and greenhills do not recognize this compile option, if
we add this option is CMakeLists.txt, the following warning will be
reported when each file is being compiled:

ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/nuttx=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/apps=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/vendor/flagchip/boards/mann/dcu/fc4150f1m-labm_a1=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/vendor/flagchip/chips/fc4150=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/nuttx=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/apps=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/vendor/flagchip/boards/mann/dcu/fc4150f1m-labm_a1=" passed to linker
ccarm: Warning: Unknown option "-fmacro-prefix-map=/home/guoshichao/work_profile/vela_os/vela_car_5/vendor/flagchip/chips/fc4150=" passed to linker

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-01-13 21:20:21 +08:00
..
menuconfig.cmake cmake: Renamed savedefconfig with refreshsilent 2024-10-18 22:14:50 +08:00
nuttx_add_application.cmake cmake(enhance):enhance NuttX cmake target dependencies and link_library modules 2024-11-22 15:16:07 -03:00
nuttx_add_dependencies.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_add_library.cmake cmake: Use EXTRAFLAGS to define customized compilation options 2025-01-18 14:12:49 +08:00
nuttx_add_module.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_add_romfs.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_add_subdirectory.cmake cmake: pass exclusion list to nuttx_add_subdirectory 2025-10-03 11:34:56 +08:00
nuttx_add_symtab.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_create_symlink.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_export_header.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_extensions.cmake cmake: correct nuttx_wildcard_sources cmake usage 2025-10-16 12:48:40 +08:00
nuttx_generate_headers.cmake cmake:refactor cmake binary include_arch dir into include 2024-09-15 10:01:07 +08:00
nuttx_generate_outputs.cmake arch/tricore: Remove tasking compiler tool specific code from 2025-09-26 13:26:31 +02:00
nuttx_generate_sim_ld.cmake cmake:bugfix refine gen sim link script to independent cmake module 2024-09-15 10:01:07 +08:00
nuttx_kconfig.cmake cmake: Improve nuttx_generate_kconfig() 2025-12-02 02:45:36 +08:00
nuttx_mkconfig.cmake libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
nuttx_mkversion.cmake cmake(bugfix):fix VERSION genarator strip error in CMake build 2025-06-18 15:45:30 -04:00
nuttx_multiple_link.cmake cmake/multiple link: cmake supports multiple link global variables out of bounds 2024-10-08 16:55:45 +08:00
nuttx_parse_function_args.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_process_config.cmake arm/rp2040: CMake build for Raspberry Pi RP2040 implemented 2025-09-24 14:42:27 +08:00
nuttx_redefine_symbols.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_remove_compile_options.cmake style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
nuttx_sethost.cmake build ci:add msvc windows native ci workflow 2024-10-13 10:25:19 +08:00
nuttx_source_file_properties.cmake cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00
nuttx_toolchain.cmake ghs: move the -fmacro-prefix-map compile option to compiler specific 2026-01-13 21:20:21 +08:00
savedefconfig.cmake tools: Update Unix.mk and savedefconfig.cmake for CONFIG_ARCH_BOARD_COMMON 2025-05-02 09:30:34 -03:00
symtab.c.in cmake: migrate to SPDX identifier 2024-09-10 11:34:40 +08:00