blob: bf91a757dd22058e7de7e9d910d90e0fef665715 [file] [log] [blame]
#inherit externalsrc package
DESCRIPTION = "liblynq-qser-voice"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
DEPENDS += "liblynq-log liblynq-call"
#inherit workonsrc
WORKONSRC = "${TOPDIR}/../src/lynq/lib/liblynq-qser-voice/"
FILESEXTRAPATHS_prepend :="${TOPDIR}/../src/lynq/lib/:"
SRC_URI = " \
file://liblynq-qser-voice\
"
SRC-DIR = "${S}/../liblynq-qser-voice"
TARGET_CC_ARCH += "${LDFLAGS}"
BB_INCLUDE_ADD = "--sysroot=${STAGING_DIR_HOST}"
BB_LDFLAGS_ADD = "--sysroot=${STAGING_DIR_HOST} -Wl,--hash-style=gnu"
#Parameters passed to do_compile()
FILES_${PN} = "${base_libdir}/*.so "
FILES_${PN}-dev = "/test \
${includedir}"
FILES_${PN}-doc = "/doc"
FILES_${PN}-dbg ="${base_bindir}/.debug \
${base_libdir}/.debug \
${base_sbindir}/.debug"
INSANE_SKIP_${PN} += "already-stripped"
INSANE_SKIP_${PN} += "installed-vs-shipped"
#INHIBIT_PACKAGE_STRIP = "1"
do_compile () {
oe_runmake all -C ${SRC-DIR} ROOT=${STAGING_DIR_HOST} OFLAGS="--sysroot=${STAGING_DIR_HOST} -Os -Wl,--hash-style=gnu -DTELEPHONYWARE"
}
do_install () {
oe_runmake install -C ${SRC-DIR} ROOT=${D}
if [ -d "${WORKONSRC}" ] ; then
install -d ${D}${includedir}/
cp -af ${SRC-DIR}/include/ ${D}${includedir}/
fi
}
addtask bachclean
do_bachclean () {
oe_runmake clean
}