blob: 95dc85ff2fccb93e12938f3f0c92cc5c1daccbd1 [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 Geissler09209ee2020-12-13 08:44:15 -060012inherit deploy
13
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 Williamsc124f4f2015-09-15 14:41:29 -050019FILES_kernel-modules = ""
20ALLOW_EMPTY_kernel-modules = "1"
21DESCRIPTION_kernel-modules = "Kernel modules meta package"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022FILES_kernel-vmlinux = ""
23ALLOW_EMPTY_kernel-vmlinux = "1"
24DESCRIPTION_kernel-vmlinux = "Kernel vmlinux meta package"
25
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