netmodule-wireless-linux/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb

27 lines
636 B
BlitzBasic

LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""
inherit allarch
SRC_URI = "git://git@bitbucket.gad.local:7999/nm-nsp/nwl-test.git;protocol=ssh;branch=main"
PV = "1.0+git${SRCPV}"
SRCREV = "8a3c5de105eb290342ed67e7cbeecb0879da1384"
S = "${WORKDIR}/git"
PACKAGES += "${PN}-kernel"
RDEPENDS:${PN}-kernel = "${PN} bats"
FILES:${PN} = "${datadir}/*"
FILES:${PN}-kernel = "${bindir}/nwl-tests-kernel"
do_install () {
install -d ${D}${bindir}
install -m 0755 ${S}/kernel-tests/kernel-tests.bats ${D}${bindir}/nwl-tests-kernel
install -d ${D}${datadir}/nwl-tests
install -m 0644 ${S}/hardware-specifications/* ${D}${datadir}/nwl-tests/
}