1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

meta-corundum/: Add PetaLinux/Yocto meta layer, include recipe for mqnic kernel module and support tools

For now, this layer is marked compatible with the Yocto version which PetaLinux
v2021.1 is based on (codename "gatesgarth"), only. Other version might be added
as needed (space separated). Incompatibilities with older versions are not known
at this point in time.

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
This commit is contained in:
Joachim Foerster 2021-10-14 13:01:09 +02:00
parent 26c70bbb8a
commit 5730988c79
6 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,6 @@
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-corundum"
BBFILE_PATTERN_meta-corundum = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-corundum = "5"
LAYERSERIES_COMPAT_meta-corundum = "gatesgarth"

View File

@ -0,0 +1 @@
../../../../modules

View File

@ -0,0 +1 @@
../../../../utils

View File

@ -0,0 +1,22 @@
SUMMARY = "Corundum mqnic driver support tools"
SECTION = "devel"
LICENSE = "MIT & GPLv2"
LIC_FILES_CHKSUM = " \
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = " \
file://utils \
file://modules \
"
S = "${WORKDIR}/utils"
do_compile() {
make
}
do_install() {
# NOTE: Makefile currently defaults to PREFIX=/usr/local !
make DESTDIR=${D} PREFIX=/usr install
}

View File

@ -0,0 +1 @@
../../../../modules/mqnic

View File

@ -0,0 +1,14 @@
SUMMARY = "Corundum mqnic driver kernel module"
SECTION = "kernel"
LICENSE = "MIT & GPLv2"
LIC_FILES_CHKSUM = " \
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit module
SRC_URI = " \
file://mqnic \
"
S = "${WORKDIR}/mqnic"