mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 09:16:36 +01:00
Fixed: PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" $ bitbake world ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb ERROR: Command execution failed: Exited with 1 (From OE-Core rev: 2e8687174e399bb42e935cd74e08e0da67775704) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
66 lines
1.3 KiB
BlitzBasic
66 lines
1.3 KiB
BlitzBasic
SUMMARY = "Dummy Linux kernel"
|
|
DESCRIPTION = "Dummy Linux kernel, to be selected as the preferred \
|
|
provider for virtual/kernel to satisfy dependencies for situations \
|
|
where you wish to build the kernel externally from the build system."
|
|
SECTION = "kernel"
|
|
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
PROVIDES += "virtual/kernel"
|
|
|
|
PACKAGES_DYNAMIC += "^kernel-module-.*"
|
|
PACKAGES_DYNAMIC += "^kernel-image-.*"
|
|
PACKAGES_DYNAMIC += "^kernel-firmware-.*"
|
|
|
|
PACKAGES += "kernel-modules kernel-vmlinux"
|
|
FILES_kernel-modules = ""
|
|
ALLOW_EMPTY_kernel-modules = "1"
|
|
DESCRIPTION_kernel-modules = "Kernel modules meta package"
|
|
FILES_kernel-vmlinux = ""
|
|
ALLOW_EMPTY_kernel-vmlinux = "1"
|
|
DESCRIPTION_kernel-vmlinux = "Kernel vmlinux meta package"
|
|
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
#COMPATIBLE_MACHINE = "your_machine"
|
|
|
|
PR = "r1"
|
|
|
|
SRC_URI = "file://COPYING.GPL"
|
|
S = "${WORKDIR}"
|
|
|
|
do_configure() {
|
|
:
|
|
}
|
|
|
|
do_compile () {
|
|
:
|
|
}
|
|
|
|
do_compile_kernelmodules() {
|
|
:
|
|
}
|
|
|
|
do_shared_workdir () {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
do_bundle_initramfs() {
|
|
:
|
|
}
|
|
|
|
do_deploy() {
|
|
:
|
|
}
|
|
|
|
addtask bundle_initramfs after do_install before do_deploy
|
|
addtask deploy after do_install
|
|
addtask shared_workdir after do_compile before do_install
|
|
addtask compile_kernelmodules
|