51 lines
1.4 KiB
BlitzBasic
51 lines
1.4 KiB
BlitzBasic
SUMMARY = "TI wl18xx calibrator tool"
|
|
DESCRIPTION = "TI wl18xx calibrator tool"
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
|
|
|
|
SRC_URI = "git://git.ti.com/git/wilink8-wlan/18xx-ti-utils.git;protocol=http \
|
|
file://wgod-ng \
|
|
file://btgod-ng \
|
|
file://0001-FIX-port-to-OE.patch \
|
|
"
|
|
|
|
PV = "1.0+git${SRCPV}"
|
|
SRCREV = "87af888fe6f7b8fa5926a38a752f65451afe5f24"
|
|
|
|
inherit pkgconfig
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "libnl-tiny"
|
|
|
|
LDFLAGS += " -Wl,--gc-sections -flto"
|
|
|
|
export CROSS_COMPILE = "${TARGET_PREFIX}"
|
|
|
|
EXTRA_OEMAKE = " \
|
|
CFLAGS="${CFLAGS} -I${STAGING_DIR_TARGET}/usr/include/libnl-tiny -DCONFIG_LIBNL20 -D_GNU_SOURCE -DCONFIG_LIBNL_TINY -ffunction-sections -fdata-sections" \
|
|
LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR} -Wl,--gc-sections -flto" \
|
|
LIBS="${LIBS} -lnl-tiny" \
|
|
CC="${CC}" \
|
|
NLVER=2" \
|
|
NL1FOUND="" NL2FOUND=Y \
|
|
NLLIBNAME="libnl-tiny"
|
|
|
|
#export EXTRA_OEMAKE = " \
|
|
# ${CFLAGS} \
|
|
# -I${STAGING_DIR_TARGET}/usr/include/libnl-tiny \
|
|
# -lnl-tiny \
|
|
# -DCONFIG_LIBNL20 \
|
|
# -DCONFIG_LIBNL_TINY \
|
|
# -D_GNU_SOURCE \
|
|
#"
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}
|
|
install -m 755 ${S}/calibrator ${D}${bindir}/.
|
|
install -m 755 ${WORKDIR}/wgod-ng ${D}${bindir}/.
|
|
install -m 755 ${WORKDIR}/btgod-ng ${D}${bindir}/.
|
|
}
|
|
|
|
FILES_${PN} += "${bindir}/*"
|