From cd11bf49704ef6413ae303c6c774b5c6a4a62f9a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 21 Dec 2010 13:49:37 +0100 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- toolchain/helpers.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 9b37f3f6c5..eb9d7421d4 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -96,7 +96,7 @@ copy_toolchain_sysroot = \ if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \ cp -a $${SYSROOT_DIR}/usr/include $(STAGING_DIR)/usr ; \ fi ; \ - ln -s . $(STAGING_DIR)/$(ARCH_SUBDIR) ; \ + ln -s . $(STAGING_DIR)/$${ARCH_SUBDIR} ; \ fi ; \ find $(STAGING_DIR) -type d | xargs chmod 755 -- 2.30.2