blob: 6da9c4100e1bc4ec64fe97c4371209a4b8a3893c [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001DESCRIPTION = "Audio ctrl service binary"
2LICENSE = "MediaTekProprietary"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
4
5DEPENDS = "libmodem-afe-ctrl-service libspeech-drv audio-xml-parser service-launcher incallRecordUTSource libsamplerate0 libxml2"
6INCLUDE_ADD = "-I${STAGING_DIR_HOST}/usr/include -I${STAGING_DIR_HOST}/usr/include/libxml2 -I${STAGING_DIR_HOST}/usr/include/logger"
7LDFLAGS = "--sysroot ${STAGING_DIR_HOST}"
8INSANE_SKIP_${PN} += "installed-vs-shipped"
9
10FILES_${PN} += "${bindir}/audio-ctrl-service"
11
12inherit workonsrc
13WORKONSRC = "${TOPDIR}/../src/multimedia/audio-misc/audio-ctrl-service"
14
15#Skip strip check in QA test.
16INSANE_SKIP_${PN} += "already-stripped"
17
18EXTRA_OEMAKE = "--file=Makefile.bin \
19 'TARGET_PLATFORM=${TARGET_PLATFORM}'\
20 'BB_LDFLAGS_ADD=${LDFLAGS}'\
21 'BB_INCLUDE_ADD=${INCLUDE_ADD}'"
22
23do_compile () {
24 oe_runmake
25}
26
27do_install () {
28 install -d ${D}/${bindir}
29 install -m 0755 ${S}/audio-ctrl-service ${D}/${bindir}
30}