mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 12:44:10 -09:00
package/linux-tools: rtla: Pass TARGET_LD to the make arguments
In Linux v6.8, the rtla Makefile was rewritten :
01474dc706ca ("tools/rtla: Use tools/build makefiles to build rtla")
The new Makefile uses default linker values, so the host linker being used to
produce the final rtla binary.
This results in the following error :
ld: [...] trace.o: error adding symbols: file in wrong format
Add LD=$(TARGET_LD) to the RTLA_MAKE_OPTS to fix rtla cross-compilation.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
parent
4abd7bb9df
commit
f28f34e200
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ LINUX_TOOLS += rtla
|
|||
RTLA_DEPENDENCIES = host-pkgconf libtracefs
|
||||
RTLA_MAKE_OPTS = $(LINUX_MAKE_FLAGS) \
|
||||
CC=$(TARGET_CC) \
|
||||
LD=$(TARGET_LD) \
|
||||
EXTRA_CFLAGS="-D_GNU_SOURCE" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue