diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-06-16 01:31:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-19 13:18:56 +0100 |
commit | 0ef2e5081b9c7250d2755e038f911a99ebe43a65 (patch) | |
tree | 108a99949aa27eeb5d2ae7ab1025fa0e8dfc43cd /meta/classes-recipe/kernel-devicetree.bbclass | |
parent | 8502913bd3a653031943d8b1045153196ee30406 (diff) | |
download | poky-0ef2e5081b9c7250d2755e038f911a99ebe43a65.tar.gz |
kernel: Add kernel specific STRIP variable
strip can be coming from binutils or from llvm
in some cases llvm-strip can fail on kernel
Subprocess output:aarch64-yoe-linux-llvm-strip: error: Link field value 28 in section .rela.dyn is not a symbol table
This helps in selecting which strip is used when building kernel
(From OE-Core rev: 03973c8c1c93ddb1c8e05b773bfcc45aed73a99f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-devicetree.bbclass')
-rw-r--r-- | meta/classes-recipe/kernel-devicetree.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-devicetree.bbclass b/meta/classes-recipe/kernel-devicetree.bbclass index b3bae32f9e..1b60c14740 100644 --- a/meta/classes-recipe/kernel-devicetree.bbclass +++ b/meta/classes-recipe/kernel-devicetree.bbclass | |||
@@ -73,7 +73,7 @@ do_compile:append() { | |||
73 | 73 | ||
74 | for dtbf in ${KERNEL_DEVICETREE}; do | 74 | for dtbf in ${KERNEL_DEVICETREE}; do |
75 | dtb=`normalize_dtb "$dtbf"` | 75 | dtb=`normalize_dtb "$dtbf"` |
76 | oe_runmake $dtb CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" ${KERNEL_EXTRA_ARGS} | 76 | oe_runmake $dtb CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}" ${KERNEL_EXTRA_ARGS} |
77 | done | 77 | done |
78 | } | 78 | } |
79 | 79 | ||