diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-04-28 14:26:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-01 14:22:53 +0100 |
| commit | 6f6a9ec39beeb41e5d3d616baddd21faca9da224 (patch) | |
| tree | 915a2ff6c03ea9365e03cbae3be93e56a4aa928b /meta/classes-recipe | |
| parent | d7319aa1bf1f544168306a8f9267a2856e1f577e (diff) | |
| download | poky-6f6a9ec39beeb41e5d3d616baddd21faca9da224.tar.gz | |
kernel-arch.bbclass: Do not use weak assignment for TOOLCHAIN
If a distro sets TOOLCHAIN with ?= or = then it overrides this
too, however, we demand GCC to be in there due to KERNEL_CC etal
Make it hard assignment, it can still be overturned via a bbappend
in that case it is intentional to use non-gcc compiler for kernel
(From OE-Core rev: 307902aa05c4537cb34fffe768df1547fb6a12d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/kernel-arch.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-arch.bbclass b/meta/classes-recipe/kernel-arch.bbclass index 749a266ea3..7aea9cd3e8 100644 --- a/meta/classes-recipe/kernel-arch.bbclass +++ b/meta/classes-recipe/kernel-arch.bbclass | |||
| @@ -81,4 +81,4 @@ KERNEL_AR = "${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}" | |||
| 81 | KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" | 81 | KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" |
| 82 | # Code in package.py can't handle options on KERNEL_STRIP | 82 | # Code in package.py can't handle options on KERNEL_STRIP |
| 83 | KERNEL_STRIP = "${HOST_PREFIX}strip" | 83 | KERNEL_STRIP = "${HOST_PREFIX}strip" |
| 84 | TOOLCHAIN ?= "gcc" | 84 | TOOLCHAIN = "gcc" |
