]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
native: follow BUILD_* definitions for OBJCOPY, OBJDUMP and READELF
authorAntonin Godard <antonin.godard@bootlin.com>
Mon, 17 Mar 2025 14:49:16 +0000 (15:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2025 10:26:10 +0000 (10:26 +0000)
commit87a6ffe21b706e6aeeeb77891565cbd7730ca163
tree15fc11cd11330742429d622a610d48fd4923677c
parent7fa58d595bcbc1c5564867952f724a6d0dbda986
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.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/native.bbclass