crosstool-ng: fixup after copy_toolchain_lib_root api changes
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 9 May 2012 09:13:18 +0000 (11:13 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 9 May 2012 09:16:43 +0000 (11:16 +0200)
Commit 0729b544b3 (Improve external toolchain logic to support IA32
Sourcery CodeBench toolchain) and e1f0804cc (external-toolchain: add
support for recent Linaro toolchains) changed the interface of
copy_toolchain_lib_root, but ctng wasn't updated so libraries weren't
copied to the target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/toolchain-crosstool-ng/crosstool-ng.mk

index a316cddcbb3deccd43b374f23e8537a6b75f2d6f..eb9e9639f668fa367fe9907b3dafd615bfc82d9d 100644 (file)
@@ -68,10 +68,10 @@ $(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
            echo "CTNG_SYSROOT='$${CTNG_SYSROOT}'";                         \
            echo "Copy external toolchain libraries to target...";          \
            for libs in $(CTNG_LIBS_LIB); do                                \
-               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},$$libs,/lib); \
+               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/lib); \
            done;                                                           \
            for libs in $(CTNG_LIBS_USR_LIB); do                            \
-               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},$$libs,/usr/lib); \
+               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/usr/lib); \
            done;
        $(Q)touch $@