1 2list(APPEND HAL_UP_SOURCE 3 generic/buildtype.c 4 generic/spinlock.c 5 generic/up.c) 6 7add_library(lib_hal_up OBJECT ${HAL_UP_SOURCE}) 8add_dependencies(lib_hal_up bugcodes xdk) 9