Fix installation of crosstool-ng libraries to target
authorFloris Bos <bos@je-eigen-domein.nl>
Sat, 5 Jan 2013 19:11:45 +0000 (19:11 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Jan 2013 11:13:20 +0000 (12:13 +0100)
When using the crosstool-ng toolchain option, the libc libraries were not
installed to target.  Buildroot calls the show-tuple function to determine
the directory to copy from, and it seems that outputs the result to stderr
instead of stdout

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/toolchain-crosstool-ng/crosstool-ng.mk

index 6f81e30cdec092062f450ed19e079444becd8004..553c9ee5bce29f6d049655826afbd7ffd6ba55e6 100644 (file)
@@ -66,7 +66,7 @@ endif
 # Actual copy
 $(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
        $(Q)mkdir -p $(TARGET_DIR)/lib
-       $(Q)CTNG_TUPLE="$$( $(call ctng,show-tuple) )";                     \
+       $(Q)CTNG_TUPLE="$$( $(call ctng,show-tuple 2>&1) )";                \
            CTNG_SYSROOT="$(HOST_DIR)/usr/$${CTNG_TUPLE}/sysroot";          \
            echo "CTNG_TUPLE='$${CTNG_TUPLE}'";                             \
            echo "CTNG_SYSROOT='$${CTNG_SYSROOT}'";                         \