summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-03-17 15:49:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-18 10:27:31 +0000
commiteefc974c1c6c9527a9ab5a37b540f2f5710fd814 (patch)
treed9049b822d3b3378963b1048cf19f142798e8a0f /meta/classes-recipe
parentcf3933d44de9db31db29323c59e27cfac00779e8 (diff)
downloadpoky-eefc974c1c6c9527a9ab5a37b540f2f5710fd814.tar.gz
native: follow BUILD_* definitions for OBJCOPY, OBJDUMP and READELF
Set the host OBJCOPY, OBJDUMP, and READELF variables to be derived from their corresponding BUILD_* definitions. This makes the native class match the build-gcc.inc file 1 to 1, as these were the only missing. Currently these variables get their definitions from gcc.inc, which uses HOST_PREFIX, and that works because the native class sets HOST_PREFIX to BUILD_PREFIX, but this doesn't seem correct. (From OE-Core rev: 87a6ffe21b706e6aeeeb77891565cbd7730ca163) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/native.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/native.bbclass b/meta/classes-recipe/native.bbclass
index 1d9432138e..febb4b6001 100644
--- a/meta/classes-recipe/native.bbclass
+++ b/meta/classes-recipe/native.bbclass
@@ -64,6 +64,9 @@ export AS = "${BUILD_AS}"
64export RANLIB = "${BUILD_RANLIB}" 64export RANLIB = "${BUILD_RANLIB}"
65export STRIP = "${BUILD_STRIP}" 65export STRIP = "${BUILD_STRIP}"
66export NM = "${BUILD_NM}" 66export NM = "${BUILD_NM}"
67export OBJCOPY = "${BUILD_OBJCOPY}"
68export OBJDUMP = "${BUILD_OBJDUMP}"
69export READELF = "${BUILD_READELF}"
67 70
68# Path prefixes 71# Path prefixes
69base_prefix = "${STAGING_DIR_NATIVE}" 72base_prefix = "${STAGING_DIR_NATIVE}"