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:
parent
26c70bbb8a
commit
5730988c79
6
meta-corundum/conf/layer.conf
Normal file
6
meta-corundum/conf/layer.conf
Normal 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"
|
1
meta-corundum/recipes-devtools/mqnic-tools/files/modules
Symbolic link
1
meta-corundum/recipes-devtools/mqnic-tools/files/modules
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../modules
|
1
meta-corundum/recipes-devtools/mqnic-tools/files/utils
Symbolic link
1
meta-corundum/recipes-devtools/mqnic-tools/files/utils
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../utils
|
22
meta-corundum/recipes-devtools/mqnic-tools/mqnic-tools.bb
Normal file
22
meta-corundum/recipes-devtools/mqnic-tools/mqnic-tools.bb
Normal 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
|
||||
}
|
1
meta-corundum/recipes-modules/kernel-module-mqnic/files/mqnic
Symbolic link
1
meta-corundum/recipes-modules/kernel-module-mqnic/files/mqnic
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../modules/mqnic
|
@ -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"
|
Loading…
x
Reference in New Issue
Block a user