xref: /kernel/uniproton/src/om/cpup/CMakeLists.txt (revision 54568cb3)
154568cb3Sopenharmony_ciadd_library(prt_cpup OBJECT prt_cpup.c)
254568cb3Sopenharmony_ciadd_library(prt_cpup_minor OBJECT prt_cpup_minor.c)
354568cb3Sopenharmony_ci
454568cb3Sopenharmony_ci##条件判断
554568cb3Sopenharmony_ciif(${CONFIG_INTERNAL_OS_CPUP_THREAD})##条件判断
654568cb3Sopenharmony_ci##根据条件添加库
754568cb3Sopenharmony_ciadd_library(prt_cpup_thread OBJECT prt_cpup_thread.c)##根据条件添加库
854568cb3Sopenharmony_ci##条件结束符号
954568cb3Sopenharmony_ciendif()##条件结束符号
1054568cb3Sopenharmony_ci
1154568cb3Sopenharmony_ci##条件判断
1254568cb3Sopenharmony_ciif(${CONFIG_INTERNAL_OS_CPUP_THREAD})##条件判断
1354568cb3Sopenharmony_ci##根据条件添加库
1454568cb3Sopenharmony_ciadd_library(prt_cpup_thread_init OBJECT prt_cpup_thread_init.c)##根据条件添加库
1554568cb3Sopenharmony_ci##条件结束符号
1654568cb3Sopenharmony_ciendif()##条件结束符号
1754568cb3Sopenharmony_ci
1854568cb3Sopenharmony_ci##条件判断
1954568cb3Sopenharmony_ciif(${CONFIG_INTERNAL_OS_CPUP_THREAD})##条件判断
2054568cb3Sopenharmony_ci##根据条件添加库
2154568cb3Sopenharmony_ciadd_library(prt_cpup_thread_64 OBJECT prt_cpup_thread_64.c)##根据条件添加库
2254568cb3Sopenharmony_ci##条件结束符号
2354568cb3Sopenharmony_ciendif()##条件结束符号
2454568cb3Sopenharmony_ci
2554568cb3Sopenharmony_ci##条件判断
2654568cb3Sopenharmony_ciif(${CONFIG_OS_OPTION_CPUP_WARN})##条件判断
2754568cb3Sopenharmony_ci##根据条件添加库
2854568cb3Sopenharmony_ciadd_library(prt_cpup_warn OBJECT prt_cpup_warn.c)##根据条件添加库
2954568cb3Sopenharmony_ci##条件结束符号
3054568cb3Sopenharmony_ciendif()##条件结束符号
31