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 | |
| 7 | LICENSE = "GPLv2" |
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 | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 12 | inherit deploy |
| 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 | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | FILES_kernel-modules = "" |
| 20 | ALLOW_EMPTY_kernel-modules = "1" |
| 21 | DESCRIPTION_kernel-modules = "Kernel modules meta package" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 22 | FILES_kernel-vmlinux = "" |
| 23 | ALLOW_EMPTY_kernel-vmlinux = "1" |
| 24 | DESCRIPTION_kernel-vmlinux = "Kernel vmlinux meta package" |
| 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 | |
| 31 | PR = "r1" |
| 32 | |
| 33 | SRC_URI = "file://COPYING.GPL" |
| 34 | S = "${WORKDIR}" |
| 35 | |
| 36 | do_configure() { |
| 37 | : |
| 38 | } |
| 39 | |
| 40 | do_compile () { |
| 41 | : |
| 42 | } |
| 43 | |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 44 | do_compile_kernelmodules() { |
| 45 | : |
| 46 | } |
| 47 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 48 | do_shared_workdir () { |
| 49 | : |
| 50 | } |
| 51 | |
| 52 | do_install() { |
| 53 | : |
| 54 | } |
| 55 | |
| 56 | do_bundle_initramfs() { |
| 57 | : |
| 58 | } |
| 59 | |
| 60 | do_deploy() { |
| 61 | : |
| 62 | } |
| 63 | |
| 64 | addtask bundle_initramfs after do_install before do_deploy |
| 65 | addtask deploy after do_install |
| 66 | addtask shared_workdir after do_compile before do_install |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 67 | addtask compile_kernelmodules |