mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
toolchain: fix multilib symlink for external toolchains
ARCH_SUBDIR is a shell variable, so it should be referenced with
$${ARCH_SUBDIR}. Without this, no symbolic link is created, and the
external toolchain fails to work if the non-default multilib variant
is used.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
5366b4fa99
commit
cd11bf4970
@@ -96,7 +96,7 @@ copy_toolchain_sysroot = \
|
|||||||
if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \
|
if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \
|
||||||
cp -a $${SYSROOT_DIR}/usr/include $(STAGING_DIR)/usr ; \
|
cp -a $${SYSROOT_DIR}/usr/include $(STAGING_DIR)/usr ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
ln -s . $(STAGING_DIR)/$(ARCH_SUBDIR) ; \
|
ln -s . $(STAGING_DIR)/$${ARCH_SUBDIR} ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
find $(STAGING_DIR) -type d | xargs chmod 755
|
find $(STAGING_DIR) -type d | xargs chmod 755
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user