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" |
| 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" |
| 9 | |
| 10 | PROVIDES += "virtual/kernel" |
| 11 | |
| 12 | PACKAGES_DYNAMIC += "^kernel-module-.*" |
| 13 | PACKAGES_DYNAMIC += "^kernel-image-.*" |
| 14 | PACKAGES_DYNAMIC += "^kernel-firmware-.*" |
| 15 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 16 | PACKAGES += "kernel-modules kernel-vmlinux" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | FILES_kernel-modules = "" |
| 18 | ALLOW_EMPTY_kernel-modules = "1" |
| 19 | DESCRIPTION_kernel-modules = "Kernel modules meta package" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 20 | FILES_kernel-vmlinux = "" |
| 21 | ALLOW_EMPTY_kernel-vmlinux = "1" |
| 22 | DESCRIPTION_kernel-vmlinux = "Kernel vmlinux meta package" |
| 23 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 25 | INHIBIT_DEFAULT_DEPS = "1" |
| 26 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | #COMPATIBLE_MACHINE = "your_machine" |
| 28 | |
| 29 | PR = "r1" |
| 30 | |
| 31 | SRC_URI = "file://COPYING.GPL" |
| 32 | S = "${WORKDIR}" |
| 33 | |
| 34 | do_configure() { |
| 35 | : |
| 36 | } |
| 37 | |
| 38 | do_compile () { |
| 39 | : |
| 40 | } |
| 41 | |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 42 | do_compile_kernelmodules() { |
| 43 | : |
| 44 | } |
| 45 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 46 | do_shared_workdir () { |
| 47 | : |
| 48 | } |
| 49 | |
| 50 | do_install() { |
| 51 | : |
| 52 | } |
| 53 | |
| 54 | do_bundle_initramfs() { |
| 55 | : |
| 56 | } |
| 57 | |
| 58 | do_deploy() { |
| 59 | : |
| 60 | } |
| 61 | |
| 62 | addtask bundle_initramfs after do_install before do_deploy |
| 63 | addtask deploy after do_install |
| 64 | addtask shared_workdir after do_compile before do_install |
Brad Bishop | f3fd288 | 2019-06-21 08:06:37 -0400 | [diff] [blame] | 65 | addtask compile_kernelmodules |