| DESCRIPTION = "Audio ctrl service binary" |
| LICENSE = "MediaTekProprietary" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" |
| |
| DEPENDS = "libmodem-afe-ctrl-service libspeech-drv audio-xml-parser service-launcher incallRecordUTSource libsamplerate0 libxml2" |
| INCLUDE_ADD = "-I${STAGING_DIR_HOST}/usr/include -I${STAGING_DIR_HOST}/usr/include/libxml2 -I${STAGING_DIR_HOST}/usr/include/logger" |
| LDFLAGS = "--sysroot ${STAGING_DIR_HOST}" |
| INSANE_SKIP_${PN} += "installed-vs-shipped" |
| |
| FILES_${PN} += "${bindir}/audio-ctrl-service" |
| |
| inherit workonsrc |
| WORKONSRC = "${TOPDIR}/../src/multimedia/audio-misc/audio-ctrl-service" |
| |
| #Skip strip check in QA test. |
| INSANE_SKIP_${PN} += "already-stripped" |
| |
| EXTRA_OEMAKE = "--file=Makefile.bin \ |
| 'TARGET_PLATFORM=${TARGET_PLATFORM}'\ |
| 'BB_LDFLAGS_ADD=${LDFLAGS}'\ |
| 'BB_INCLUDE_ADD=${INCLUDE_ADD}'" |
| |
| do_compile () { |
| oe_runmake |
| } |
| |
| do_install () { |
| install -d ${D}/${bindir} |
| install -m 0755 ${S}/audio-ctrl-service ${D}/${bindir} |
| } |