From c669bd5115d748a76018490af0c798df2747657d Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Sun, 18 Oct 2020 00:17:42 +0200 Subject: [PATCH] package/busybox: explicitly state binutils paths We are not passing TARGET_CONFIGURE_OPTS when building busybox; instead we are passing variables explicitly. As thus, it is missing the ar, nm, and ranlib that we are using. We add explicit AR, NM, and RANLIB, so that the ones we want to use (i.e. the gcc-wrapped ones) are actually used. Signed-off-by: Norbert Lange [yann.morin.1998@free.fr: - reword the commit log to explain why we need that ] Signed-off-by: Yann E. MORIN --- package/busybox/busybox.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 3523cf21d0..60ebc4985f 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -91,6 +91,9 @@ BUSYBOX_MAKE_ENV += \ endif BUSYBOX_MAKE_OPTS = \ + AR="$(TARGET_AR)" \ + NM="$(TARGET_NM)" \ + RANLIB="$(TARGET_RANLIB)" \ CC="$(TARGET_CC)" \ ARCH=$(KERNEL_ARCH) \ PREFIX="$(TARGET_DIR)" \