diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-03-17 15:49:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-18 10:27:31 +0000 |
| commit | eefc974c1c6c9527a9ab5a37b540f2f5710fd814 (patch) | |
| tree | d9049b822d3b3378963b1048cf19f142798e8a0f /meta/classes-recipe | |
| parent | cf3933d44de9db31db29323c59e27cfac00779e8 (diff) | |
| download | poky-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.bbclass | 3 |
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}" | |||
| 64 | export RANLIB = "${BUILD_RANLIB}" | 64 | export RANLIB = "${BUILD_RANLIB}" |
| 65 | export STRIP = "${BUILD_STRIP}" | 65 | export STRIP = "${BUILD_STRIP}" |
| 66 | export NM = "${BUILD_NM}" | 66 | export NM = "${BUILD_NM}" |
| 67 | export OBJCOPY = "${BUILD_OBJCOPY}" | ||
| 68 | export OBJDUMP = "${BUILD_OBJDUMP}" | ||
| 69 | export READELF = "${BUILD_READELF}" | ||
| 67 | 70 | ||
| 68 | # Path prefixes | 71 | # Path prefixes |
| 69 | base_prefix = "${STAGING_DIR_NATIVE}" | 72 | base_prefix = "${STAGING_DIR_NATIVE}" |
