29 lines
859 B
BlitzBasic
29 lines
859 B
BlitzBasic
HOMEPAGE = "http://www.netmodule.com"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://git.netmodule.intranet/NRSW/system-info.git;protocol=ssh;user=gitea;branch=master \
|
|
file://0001-dummy-version-info-and-bd-key.patch \
|
|
"
|
|
|
|
PV = "1.0+git${SRCPV}"
|
|
SRCREV = "9ac224b6411758ec399518b0781659f1d8b7beb7"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "virtual/kernel kernel-module-board-descriptor kernel-module-pcie"
|
|
|
|
inherit module
|
|
|
|
KERNEL_CC:append = " -I${STAGING_DIR_TARGET}/usr/include/board-descriptor"
|
|
|
|
do_install:append() {
|
|
install -d ${D}/usr/include/system-info/linux/
|
|
install -m 0755 ${S}/netbox_system_info.h ${D}/usr/include/system-info/linux/
|
|
}
|
|
|
|
EXTRA_OEMAKE:append:task-install = " -C ${STAGING_KERNEL_DIR} M=${S}"
|
|
|
|
KERNEL_MODULE_AUTOLOAD += " system-info "
|
|
|