mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
kernel: set COMPATIBLE_HOST to *-linux
The target system triple contains whether the target is Linux or not, so use it to avoid situations where you can attempt to build a kernel for systems which don't support Linux. (From OE-Core rev: b1eeeab21a81990321468ddbdd1745ea24d1828d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4f6358f50c
commit
2d99b0993a
@@ -1,5 +1,7 @@
|
||||
inherit linux-kernel-base kernel-module-split
|
||||
|
||||
COMPATIBLE_HOST = ".*-linux"
|
||||
|
||||
KERNEL_PACKAGE_NAME ??= "kernel"
|
||||
KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ DESCRIPTION_kernel-vmlinux = "Kernel vmlinux meta package"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
#COMPATIBLE_MACHINE = "your_machine"
|
||||
COMPATIBLE_HOST = ".*-linux"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user