avs_mtk_voice/meta/meta-mediatek-aud/recipes-connectivity/ble_mesh/ble-mesh.bb

24 lines
700 B
BlitzBasic
Raw Normal View History

2022-05-13 08:02:31 +00:00
inherit workonsrc
DESCRIPTION = "bluetooth mesh"
LICENSE = "Airoha"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
DEPENDS += "${@base_contains('LICENSE_FLAGS_BLUEZ', 'yes', 'bluez5', 'bluetooth' ,d)}"
WORKONSRC = "${TOPDIR}/../src/connectivity/bt_others/ble_mesh"
do_compile() {
echo $PWD
echo mesh start compile
make TOPDIR=${TOPDIR} MTK_PROJECT=${MTK_PROJECT} WORKONSRC=${WORKONSRC}
echo mesh end compile
}
do_install() {
oe_runmake DESTDIR="${D}" "WORKONSRC=${WORKONSRC}" TOPDIR="${TOPDIR}" install
}
FILES_${PN} += "/data/misc/mesh /usr/bin ${libdir}/"
FILES_${PN}-dev = ""
INSANE_SKIP_${PN} += "already-stripped"
INSANE_SKIP_${PN} += "ldflags"