blob: 175e660687e17c045ee6d9ee9661fbc15d19c4db [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
7LICENSE = "GPLv2"
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
31PR = "r1"
32
33SRC_URI = "file://COPYING.GPL"
34S = "${WORKDIR}"
35
36do_configure() {
37 :
38}
39
40do_compile () {
41 :
42}
43
Brad Bishopf3fd2882019-06-21 08:06:37 -040044do_compile_kernelmodules() {
45 :
46}
47
Patrick Williamsc124f4f2015-09-15 14:41:29 -050048do_shared_workdir () {
49 :
50}
51
52do_install() {
53 :
54}
55
56do_bundle_initramfs() {
57 :
58}
59
60do_deploy() {
61 :
62}
63
64addtask bundle_initramfs after do_install before do_deploy
65addtask deploy after do_install
66addtask shared_workdir after do_compile before do_install
Brad Bishopf3fd2882019-06-21 08:06:37 -040067addtask compile_kernelmodules