avs_mtk_voice/meta/meta-mediatek-aud/recipes-multimedia/aud-misc/ppc.bb

36 lines
761 B
BlitzBasic
Raw Permalink Normal View History

2022-05-13 08:02:31 +00:00
DESCRIPTION = "ppc"
LICENSE = "MediaTekProprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173ff"
DEPENDS += "tzapp"
RDEPENDS_${PN} += "tzapp"
#
python __anonymous () {
name = d.getVar("MTK_PROJECT", "")
if name == "aud8516p1v2-consys-slc-falcon":
srcDir="ppc-falcon"
else:
srcDir="ppc"
d.setVar("PPC_SRC_DIR", srcDir)
}
PPC_SRC = "${TOPDIR}/../src/multimedia/audio-misc/${PPC_SRC_DIR}"
inherit workonsrc
WORKONSRC = "${PPC_SRC}"
do_compile() {
make
}
do_install() {
oe_runmake \
PREFIX="${prefix}" DESTDIR="${D}" PACKAGE_ARCH="${PACKAGE_ARCH}" install
}
FILES_${PN} += "${libdir}"
FILES_${PN}-dev = ""
FILES_${PN}-dev += "${includedir}"
INSANE_SKIP_${PN} += "ldflags"