diff --git a/meta-corundum/conf/layer.conf b/meta-corundum/conf/layer.conf new file mode 100644 index 000000000..311fc241e --- /dev/null +++ b/meta-corundum/conf/layer.conf @@ -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" diff --git a/meta-corundum/recipes-devtools/mqnic-tools/files/modules b/meta-corundum/recipes-devtools/mqnic-tools/files/modules new file mode 120000 index 000000000..9bbbca0dc --- /dev/null +++ b/meta-corundum/recipes-devtools/mqnic-tools/files/modules @@ -0,0 +1 @@ +../../../../modules \ No newline at end of file diff --git a/meta-corundum/recipes-devtools/mqnic-tools/files/utils b/meta-corundum/recipes-devtools/mqnic-tools/files/utils new file mode 120000 index 000000000..23cef9612 --- /dev/null +++ b/meta-corundum/recipes-devtools/mqnic-tools/files/utils @@ -0,0 +1 @@ +../../../../utils \ No newline at end of file diff --git a/meta-corundum/recipes-devtools/mqnic-tools/mqnic-tools.bb b/meta-corundum/recipes-devtools/mqnic-tools/mqnic-tools.bb new file mode 100644 index 000000000..35fd8bb71 --- /dev/null +++ b/meta-corundum/recipes-devtools/mqnic-tools/mqnic-tools.bb @@ -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 +} diff --git a/meta-corundum/recipes-modules/kernel-module-mqnic/files/mqnic b/meta-corundum/recipes-modules/kernel-module-mqnic/files/mqnic new file mode 120000 index 000000000..47b97f767 --- /dev/null +++ b/meta-corundum/recipes-modules/kernel-module-mqnic/files/mqnic @@ -0,0 +1 @@ +../../../../modules/mqnic \ No newline at end of file diff --git a/meta-corundum/recipes-modules/kernel-module-mqnic/kernel-module-mqnic.bb b/meta-corundum/recipes-modules/kernel-module-mqnic/kernel-module-mqnic.bb new file mode 100644 index 000000000..efa8b2727 --- /dev/null +++ b/meta-corundum/recipes-modules/kernel-module-mqnic/kernel-module-mqnic.bb @@ -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"