blob: 2396f46202b832629bb5094de1fdffe5d0eab094 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Dummy Linux kernel"
2DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \
3provider for virtual/kernel to satisfy dependencies for situations \
4where you wish to build the kernel externally from the build system."
5SECTION = "kernel"
6
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00007LICENSE = "GPL-2.0-only"
Andrew Geissler09209ee2020-12-13 08:44:15 -06008LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
10PROVIDES += "virtual/kernel"
11
Andrew Geissler95ac1b82021-03-31 14:34:31 -050012inherit deploy linux-dummy
Andrew Geissler09209ee2020-12-13 08:44:15 -060013
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014PACKAGES_DYNAMIC += "^kernel-module-.*"
15PACKAGES_DYNAMIC += "^kernel-image-.*"
16PACKAGES_DYNAMIC += "^kernel-firmware-.*"
17
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018PACKAGES += "kernel-modules kernel-vmlinux"
Patrick Williams213cb262021-08-07 19:21:33 -050019FILES:kernel-modules = ""
20ALLOW_EMPTY:kernel-modules = "1"
21DESCRIPTION:kernel-modules = "Kernel modules meta package"
22FILES:kernel-vmlinux = ""
23ALLOW_EMPTY:kernel-vmlinux = "1"
24DESCRIPTION:kernel-vmlinux = "Kernel vmlinux meta package"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027INHIBIT_DEFAULT_DEPS = "1"
28
Andrew Geisslerd1e89492021-02-12 15:35:20 -060029COMPATIBLE_HOST = ".*-linux"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031
32SRC_URI = "file://COPYING.GPL"
33S = "${WORKDIR}"
34
35do_configure() {
36 :
37}
38
39do_compile () {
40 :
41}
42
Brad Bishopf3fd2882019-06-21 08:06:37 -040043do_compile_kernelmodules() {
44 :
45}
46
Patrick Williamsc124f4f2015-09-15 14:41:29 -050047do_shared_workdir () {
48 :
49}
50
51do_install() {
52 :
53}
54
55do_bundle_initramfs() {
56 :
57}
58
59do_deploy() {
60 :
61}
62
63addtask bundle_initramfs after do_install before do_deploy
64addtask deploy after do_install
65addtask shared_workdir after do_compile before do_install
Brad Bishopf3fd2882019-06-21 08:06:37 -040066addtask compile_kernelmodules