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