[Buildroot] [PATCH] Fix installation of crosstool-ng libraries to target
Floris Bos
bos at je-eigen-domein.nl
Sun Jan 6 05:11:45 UTC 2013
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 at je-eigen-domein.nl>
---
toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 6f81e30..553c9ee 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -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}'"; \
--
1.7.10.4
More information about the buildroot
mailing list