summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-03-19 16:46:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-21 12:05:52 +0000
commit5a78852a6e811ec699532b567008e36dec9d6c49 (patch)
tree28a8980e2ebeed63f91af5db8f24f600cdff3756
parent93532dfb75f39fa4aa5221b9ef4a757f187356d6 (diff)
downloadpoky-5a78852a6e811ec699532b567008e36dec9d6c49.tar.gz
linux-dummy: provide kernel-modules (empty) package
Like it is done in kernel.bbclass (From OE-Core rev: 5df4e63e747028c3ce89f1f9ae01a766ae34dc3d) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/linux-dummy.bb18
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index bab1ac1c0c..5d29f5cc12 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -1,16 +1,22 @@
1SECTION = "kernel"
2SUMMARY = "Dummy Linux kernel" 1SUMMARY = "Dummy Linux kernel"
3DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \ 2DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \
4provider for virtual/kernel to satisfy dependencies for situations \ 3provider for virtual/kernel to satisfy dependencies for situations \
5where you wish to build the kernel externally from the build system." 4where you wish to build the kernel externally from the build system."
6LICENSE = "GPLv2" 5SECTION = "kernel"
7 6
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" 8LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
9 9
10PROVIDES += "virtual/kernel" 10PROVIDES += "virtual/kernel"
11 11
12PACKAGES_DYNAMIC += "^kernel-module-.*" 12PACKAGES_DYNAMIC += "^kernel-module-.*"
13PACKAGES_DYNAMIC += "^kernel-image-.*" 13PACKAGES_DYNAMIC += "^kernel-image-.*"
14PACKAGES_DYNAMIC += "^kernel-firmware-.*"
15
16PACKAGES += "kernel-modules"
17FILES_kernel-modules = ""
18ALLOW_EMPTY_kernel-modules = "1"
19DESCRIPTION_kernel-modules = "Kernel modules meta package"
14 20
15#COMPATIBLE_MACHINE = "your_machine" 21#COMPATIBLE_MACHINE = "your_machine"
16 22
@@ -20,19 +26,19 @@ SRC_URI = "file://COPYING.GPL"
20S = "${WORKDIR}" 26S = "${WORKDIR}"
21 27
22do_configure() { 28do_configure() {
23 : 29 :
24} 30}
25 31
26do_compile () { 32do_compile () {
27 : 33 :
28} 34}
29 35
30do_install() { 36do_install() {
31 : 37 :
32} 38}
33 39
34do_bundle_initramfs() { 40do_bundle_initramfs() {
35 : 41 :
36} 42}
37 43
38do_deploy() { 44do_deploy() {