Message ID | 20201017221743.160029-3-nolange79@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/4] package/Makefile.in: use gcc wrappers for binutils tools | expand |
Norbet, All, On 2020-10-18 00:17 +0200, Norbert Lange spake thusly: > Pass paths to ar, nm, ranlib binaries. This allows linker-plugins > to be used. I have expanded/reworded the commit log to explain why this is needed specifically for busybox. Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Norbert Lange <nolange79@gmail.com> > --- > package/busybox/busybox.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk > index 01f7331221..221b8adf59 100644 > --- a/package/busybox/busybox.mk > +++ b/package/busybox/busybox.mk > @@ -94,6 +94,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)" \ > -- > 2.28.0
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 01f7331221..221b8adf59 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -94,6 +94,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)" \
Pass paths to ar, nm, ranlib binaries. This allows linker-plugins to be used. Signed-off-by: Norbert Lange <nolange79@gmail.com> --- package/busybox/busybox.mk | 3 +++ 1 file changed, 3 insertions(+)