43 lines
1.1 KiB
BlitzBasic
43 lines
1.1 KiB
BlitzBasic
SUMMARY = "FW update tool for ublox NEO-M8L"
|
|
DESCRIPTION = "Fw update tool for ublox NEO-M8L"
|
|
SECTION = "utils"
|
|
|
|
|
|
LICENSE="Proprietary"
|
|
LIC_FILES_CHKSUM="file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
|
|
|
DEPENDS = "ncurses"
|
|
|
|
SRC_URI = "file://ubx-fw-update.tar.gz \
|
|
file://flash.xml \
|
|
file://UBX_M8_301_ADR_421_NEO_M8L.bin \
|
|
file://gnss-fw-update \
|
|
"
|
|
|
|
PACKAGECONFIG ?= ""
|
|
PACKAGECONFIG[ubx-tool-only] = ""
|
|
|
|
S = "${WORKDIR}/ubx-fw-update"
|
|
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 fwupdate ${D}${bindir}/
|
|
|
|
if ! ${@bb.utils.contains('PACKAGECONFIG','ubx-tool-only','true','false',d)}; then
|
|
install -m 0755 ../gnss-fw-update ${D}${bindir}/
|
|
|
|
install -d ${D}${nonarch_base_libdir}/firmware/
|
|
install -m 0644 ../UBX_M8_301_ADR_421_NEO_M8L.bin ${D}${nonarch_base_libdir}/firmware/
|
|
install -m 0644 ../flash.xml ${D}${nonarch_base_libdir}/firmware/ubx-fw-flash.xml
|
|
fi
|
|
}
|
|
|
|
FILES:${PN} = " \
|
|
${bindir} \
|
|
${nonarch_base_libdir} \
|
|
"
|