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