nuttx/mm
leisiji 14e434c3f0 mm/kasan: Fix compile options applied to wrong target in SPLIT build
In SPLIT build mode, nuttx_add_kernel_library(mm SPLIT) creates two
targets: mm (system library) and kmm (kernel library). The compile
options were being applied to the mm target via
target_compile_options(mm ...), but the kasan instrumentation is
compiled as part of the kmm target.

Change target_compile_options(mm ...) to target_compile_options(kmm
...) so that FLAGS (including -fno-builtin and NO_LTO) are correctly
applied to the kernel target where kasan code is compiled.

Signed-off-by: leisiji <2265215145@qq.com>
2026-06-08 16:03:21 +08:00
..
iob !sys/types.h: change time_t and clock_t to int64_t to align with other OSes 2026-05-19 16:21:28 +08:00
kasan mm/kasan: Fix compile options applied to wrong target in SPLIT build 2026-06-08 16:03:21 +08:00
kmap
kmm_heap
map
mempool
mm_gran
mm_heap
shm
tlsf
ubsan !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
umm_heap
CMakeLists.txt
Kconfig
Makefile