Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Dummy Linux kernel" |
| 2 | DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \ |
| 3 | provider for virtual/kernel to satisfy dependencies for situations \ |
| 4 | where you wish to build the kernel externally from the build system." |
| 5 | SECTION = "kernel" |
| 6 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | |
| 10 | PROVIDES += "virtual/kernel" |
| 11 | |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 12 | inherit deploy linux-dummy |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 13 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | PACKAGES_DYNAMIC += "^kernel-module-.*" |
| 15 | PACKAGES_DYNAMIC += "^kernel-image-.*" |
| 16 | PACKAGES_DYNAMIC += "^kernel-firmware-.*" |
| 17 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | PACKAGES += "kernel-modules kernel-vmlinux" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 19 | FILES:kernel-modules = "" |
| 20 | ALLOW_EMPTY:kernel-modules = "1" |
| 21 | DESCRIPTION:kernel-modules = "Kernel modules meta package" |
| 22 | FILES:kernel-vmlinux = "" |
| 23 | ALLOW_EMPTY:kernel-vmlinux = "1" |
| 24 | DESCRIPTION:kernel-vmlinux = "Kernel vmlinux meta package" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 27 | INHIBIT_DEFAULT_DEPS = "1" |
| 28 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 29 | COMPATIBLE_HOST = ".*-linux" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |
| 32 | SRC_URI = "file://COPYING.GPL" |
| 33 | S = "${WORKDIR}" |
| 34 | |
| 35 | do_configure() { |
| 36 | : |
| 37 | } |
| 38 | |
| 39 | do_compile () { |
| 40 | : |
| 41 | } |
| 42 | |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 43 | do_compile_kernelmodules() { |
| 44 | : |
| 45 | } |
| 46 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 47 | do_shared_workdir () { |
| 48 | : |
| 49 | } |
| 50 | |
| 51 | do_install() { |
| 52 | : |
| 53 | } |
| 54 | |
| 55 | do_bundle_initramfs() { |
| 56 | : |
| 57 | } |
| 58 | |
| 59 | do_deploy() { |
| 60 | : |
| 61 | } |
| 62 | |
| 63 | addtask bundle_initramfs after do_install before do_deploy |
| 64 | addtask deploy after do_install |
| 65 | addtask shared_workdir after do_compile before do_install |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 66 | addtask compile_kernelmodules |