Fix installation of crosstool-ng libraries to target
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>
This commit is contained in:
parent
698cd0a0f4
commit
de1eb105a4
@ -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}'"; \
|
||||
|
Loading…
Reference in New Issue
Block a user