diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-10 14:22:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-13 13:51:41 +0000 |
commit | 598e1db8e63c4224203cee27ed1941601ef9d19c (patch) | |
tree | 71f69c902676fa79cc628ebcacb5ea00ac82ceca /meta/classes-recipe/kernel-arch.bbclass | |
parent | babd5fea4a61d722b505e9efeb1701a70b4b5413 (diff) | |
download | poky-598e1db8e63c4224203cee27ed1941601ef9d19c.tar.gz |
kernel-arch: Simplify strip support
I think these options to strip were added to mirror the other kernel commandline
options. In the strip case, it breaks code such as runstrip() in package.py
since only a single command with no options is supported.
For that reason I find it unlikely anyone is using this. Drop the problematic
variables.
(From OE-Core rev: 0d1c5971cafc1b65c000a10f7620e6ba22b53c91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-arch.bbclass')
-rw-r--r-- | meta/classes-recipe/kernel-arch.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes-recipe/kernel-arch.bbclass b/meta/classes-recipe/kernel-arch.bbclass index 404f2e7061..b32f6137a2 100644 --- a/meta/classes-recipe/kernel-arch.bbclass +++ b/meta/classes-recipe/kernel-arch.bbclass | |||
@@ -70,12 +70,11 @@ TARGET_AR_KERNEL_ARCH ?= "" | |||
70 | HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" | 70 | HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" |
71 | TARGET_OBJCOPY_KERNEL_ARCH ?= "" | 71 | TARGET_OBJCOPY_KERNEL_ARCH ?= "" |
72 | HOST_OBJCOPY_KERNEL_ARCH ?= "${TARGET_OBJCOPY_KERNEL_ARCH}" | 72 | HOST_OBJCOPY_KERNEL_ARCH ?= "${TARGET_OBJCOPY_KERNEL_ARCH}" |
73 | TARGET_STRIP_KERNEL_ARCH ?= "" | ||
74 | HOST_STRIP_KERNEL_ARCH ?= "${TARGET_STRIP_KERNEL_ARCH}" | ||
75 | 73 | ||
76 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}" | 74 | KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}" |
77 | KERNEL_LD = "${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}" | 75 | KERNEL_LD = "${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}" |
78 | KERNEL_AR = "${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}" | 76 | KERNEL_AR = "${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}" |
79 | KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" | 77 | KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" |
80 | KERNEL_STRIP = "${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}" | 78 | # Code in package.py can't handle options on KERNEL_STRIP |
79 | KERNEL_STRIP = "${HOST_PREFIX}strip" | ||
81 | TOOLCHAIN ?= "gcc" | 80 | TOOLCHAIN ?= "gcc" |