diff options
| author | Matthieu Crapet <Matthieu.Crapet@ingenico.com> | 2014-03-19 16:46:09 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 12:05:52 +0000 |
| commit | 5a78852a6e811ec699532b567008e36dec9d6c49 (patch) | |
| tree | 28a8980e2ebeed63f91af5db8f24f600cdff3756 | |
| parent | 93532dfb75f39fa4aa5221b9ef4a757f187356d6 (diff) | |
| download | poky-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.bb | 18 |
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 @@ | |||
| 1 | SECTION = "kernel" | ||
| 2 | SUMMARY = "Dummy Linux kernel" | 1 | SUMMARY = "Dummy Linux kernel" |
| 3 | DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \ | 2 | DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \ |
| 4 | provider for virtual/kernel to satisfy dependencies for situations \ | 3 | provider for virtual/kernel to satisfy dependencies for situations \ |
| 5 | where you wish to build the kernel externally from the build system." | 4 | where you wish to build the kernel externally from the build system." |
| 6 | LICENSE = "GPLv2" | 5 | SECTION = "kernel" |
| 7 | 6 | ||
| 7 | LICENSE = "GPLv2" | ||
| 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" | 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" |
| 9 | 9 | ||
| 10 | PROVIDES += "virtual/kernel" | 10 | PROVIDES += "virtual/kernel" |
| 11 | 11 | ||
| 12 | PACKAGES_DYNAMIC += "^kernel-module-.*" | 12 | PACKAGES_DYNAMIC += "^kernel-module-.*" |
| 13 | PACKAGES_DYNAMIC += "^kernel-image-.*" | 13 | PACKAGES_DYNAMIC += "^kernel-image-.*" |
| 14 | PACKAGES_DYNAMIC += "^kernel-firmware-.*" | ||
| 15 | |||
| 16 | PACKAGES += "kernel-modules" | ||
| 17 | FILES_kernel-modules = "" | ||
| 18 | ALLOW_EMPTY_kernel-modules = "1" | ||
| 19 | DESCRIPTION_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" | |||
| 20 | S = "${WORKDIR}" | 26 | S = "${WORKDIR}" |
| 21 | 27 | ||
| 22 | do_configure() { | 28 | do_configure() { |
| 23 | : | 29 | : |
| 24 | } | 30 | } |
| 25 | 31 | ||
| 26 | do_compile () { | 32 | do_compile () { |
| 27 | : | 33 | : |
| 28 | } | 34 | } |
| 29 | 35 | ||
| 30 | do_install() { | 36 | do_install() { |
| 31 | : | 37 | : |
| 32 | } | 38 | } |
| 33 | 39 | ||
| 34 | do_bundle_initramfs() { | 40 | do_bundle_initramfs() { |
| 35 | : | 41 | : |
| 36 | } | 42 | } |
| 37 | 43 | ||
| 38 | do_deploy() { | 44 | do_deploy() { |
