17 lines
535 B
PHP
17 lines
535 B
PHP
inherit get_release_mode
|
|
|
|
HALO_SRC_DIR = "${OEROOT}/source/unisoc/connectivity/halo/halo_init"
|
|
HALO_INSTALL_DIR = "${DEPLOY_OUT_DIR}/connectivity/halo/halo_init"
|
|
HALO_RELEASE_DIR = "${PREBUILTS_OUT_DIR}/connectivity/halo/halo_init/halo_control"
|
|
|
|
export HALO_SRC_MODE="${@get_release_mode(d, "${HALO_SRC_DIR}")}"
|
|
|
|
EXTERNALSRC_DIR = "${@bb.utils.contains("HALO_SRC_MODE", "customer", "${HALO_RELEASE_DIR}", "${HALO_SRC_DIR}", d)}"
|
|
|
|
do_compile () {
|
|
if [ ${HALO_SRC_MODE} != "customer" ]; then
|
|
make clean
|
|
make
|
|
fi
|
|
}
|