Patchwork [RFC] linux-dummy: provide kernel-modules (empty) package

login
register
mail settings
Submitter Matthieu CRAPET
Date March 19, 2014, 3:46 p.m.
Message ID <1395243969-1148-1-git-send-email-Matthieu.Crapet@ingenico.com>
Download mbox | patch
Permalink /patch/68883/
State New
Headers show

Comments

Matthieu CRAPET - March 19, 2014, 3:46 p.m.
Like it is done in kernel.bbclass

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
 meta/recipes-kernel/linux/linux-dummy.bb | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Patch

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() {