set(product_list "ascend310B" "ascend910B" "ascend910" "ascend310p")

if ("${PRODUCT}" IN_LIST product_list)
    set(ascend_trs_sub_stars_depends ascend_soc_resmng ascend_uda drv_seclib_host ascend_logdrv ascend_kernel_open_adapt)
else()
    set(ascend_trs_sub_stars_depends ascend_soc_resmng ascend_uda drv_seclib_host)
endif()

add_host_ko(LOCAL_MODULE ascend_trs_sub_stars
    KO_SRC_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}
    MAKE_ARGS ${MAKE_ARGS}
    TARGETE_DPENDS "${ascend_trs_sub_stars_depends}")
