From patchwork Sun Jan 6 05:11:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Floris Bos X-Patchwork-Id: 209725 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1356C2C0089 for ; Sun, 6 Jan 2013 16:12:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 54338FFD3A; Sun, 6 Jan 2013 05:12:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kgMen-W2n+qd; Sun, 6 Jan 2013 05:12:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7AC6DFFE4D; Sun, 6 Jan 2013 05:12:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 158148F753 for ; Sun, 6 Jan 2013 05:12:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EA8878BF38 for ; Sun, 6 Jan 2013 05:12:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDvVAhb8z4ji for ; Sun, 6 Jan 2013 05:12:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx2.je-eigen-domein.nl (mx2.je-eigen-domein.nl [85.10.196.86]) by whitealder.osuosl.org (Postfix) with ESMTP id 1AEEE8BF31 for ; Sun, 6 Jan 2013 05:12:09 +0000 (UTC) Received: from lynx.fritz.box (localhost [127.0.0.1]) by mx2.je-eigen-domein.nl (Postfix) with ESMTP id EE60B7881AF; Sun, 6 Jan 2013 06:12:07 +0100 (CET) From: Floris Bos To: buildroot@busybox.net Date: Sun, 6 Jan 2013 06:11:45 +0100 Message-Id: <1357449105-14780-1-git-send-email-bos@je-eigen-domein.nl> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] Fix installation of crosstool-ng libraries to target X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Acked-by: "Yann E. MORIN" --- 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}'"; \