[OE-core] [RFC][PATCH] linux-dummy: provide kernel-modules (empty) package
Matthieu Crapet
Matthieu.Crapet at ingenico.com
Wed Mar 19 15:46:09 UTC 2014
Like it is done in kernel.bbclass
Signed-off-by: Matthieu Crapet <Matthieu.Crapet at ingenico.com>
---
meta/recipes-kernel/linux/linux-dummy.bb | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index bab1ac1..5d29f5c 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -1,16 +1,22 @@
-SECTION = "kernel"
SUMMARY = "Dummy Linux kernel"
DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \
provider for virtual/kernel to satisfy dependencies for situations \
where you wish to build the kernel externally from the build system."
-LICENSE = "GPLv2"
+SECTION = "kernel"
+LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
PROVIDES += "virtual/kernel"
PACKAGES_DYNAMIC += "^kernel-module-.*"
PACKAGES_DYNAMIC += "^kernel-image-.*"
+PACKAGES_DYNAMIC += "^kernel-firmware-.*"
+
+PACKAGES += "kernel-modules"
+FILES_kernel-modules = ""
+ALLOW_EMPTY_kernel-modules = "1"
+DESCRIPTION_kernel-modules = "Kernel modules meta package"
#COMPATIBLE_MACHINE = "your_machine"
@@ -20,19 +26,19 @@ SRC_URI = "file://COPYING.GPL"
S = "${WORKDIR}"
do_configure() {
- :
+ :
}
do_compile () {
- :
+ :
}
do_install() {
- :
+ :
}
do_bundle_initramfs() {
- :
+ :
}
do_deploy() {
--
1.8.5.4
More information about the Openembedded-core
mailing list