blob: 0287da53925e6ce20e819486123a7bd4cfdc3325 [file] [log] [blame]
inherit externalsrc package
DESCRIPTION = "lynq-tcpcli demo"
LICENSE = "MediaTekProprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff"
DEPENDS += "platform-libs dbus glib-2.0 liblynq-log liblynq-broadcast"
inherit workonsrc
WORKONSRC = "${TOPDIR}/../src/lynq/packages/apps/lynq-tcpcli"
TARGET_CC_ARCH += "${LDFLAGS}"
#Parameters passed to do_compile()
EXTRA_OEMAKE = "'RAT_CONFIG_C2K_SUPPORT = ${RAT_CONFIG_C2K_SUPPORT}'\
'MTK_MULTI_SIM_SUPPORT = ${MTK_MULTI_SIM_SUPPORT}'\
'TARGET_PLATFORM = ${TARGET_PLATFORM}'"
#INHIBIT_PACKAGE_STRIP = "1"
do_compile () {
if test "${PACKAGE_ARCH}" = "cortexa7hf-vfp-vfpv4-neon" || test "${PACKAGE_ARCH}" = "cortexa7hf-neon-vfpv4"; then
oe_runmake all ROOT=${STAGING_DIR_HOST} OFLAGS="--sysroot=${STAGING_DIR_HOST} -mhard-float"
else
oe_runmake all ROOT=${STAGING_DIR_HOST} OFLAGS="--sysroot=${STAGING_DIR_HOST}"
fi
}
do_install() {
install -d ${D}${bindir}/
install -m 0755 ${S}/lynq-tcpcli ${D}${bindir}/
#install -d ${D}${includedir}
}