35 lines
844 B
BlitzBasic
35 lines
844 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 \
|
|
kernel-module-system-info \
|
|
kernel-module-board-descriptor \
|
|
kernel-module-hydra \
|
|
kernel-module-pcie \
|
|
kernel-module-poe \
|
|
kernel-module-rdp \
|
|
kernel-module-reset-reason \
|
|
"
|
|
|
|
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/
|
|
}
|
|
|