mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cf3933d44d
commit
eefc974c1c
@@ -64,6 +64,9 @@ export AS = "${BUILD_AS}"
|
||||
export RANLIB = "${BUILD_RANLIB}"
|
||||
export STRIP = "${BUILD_STRIP}"
|
||||
export NM = "${BUILD_NM}"
|
||||
export OBJCOPY = "${BUILD_OBJCOPY}"
|
||||
export OBJDUMP = "${BUILD_OBJDUMP}"
|
||||
export READELF = "${BUILD_READELF}"
|
||||
|
||||
# Path prefixes
|
||||
base_prefix = "${STAGING_DIR_NATIVE}"
|
||||
|
||||
Reference in New Issue
Block a user