1 2list(APPEND HAL_SMP_SOURCE 3 generic/buildtype.c 4 generic/spinlock.c) 5 6add_library(lib_hal_smp OBJECT ${HAL_SMP_SOURCE}) 7add_dependencies(lib_hal_smp bugcodes xdk) 8target_compile_definitions(lib_hal_smp PRIVATE CONFIG_SMP) 9