From patchwork Tue Dec 9 01:44:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 418926 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E2FC41400D2 for ; Tue, 9 Dec 2014 12:44:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9FCE032CEB; Tue, 9 Dec 2014 01:44:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23711FCZkyFj; Tue, 9 Dec 2014 01:44:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3A79C32C46; Tue, 9 Dec 2014 01:44:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 75A8A1C2851 for ; Tue, 9 Dec 2014 01:44:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 70412949C4 for ; Tue, 9 Dec 2014 01:44:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OGrhfHqWBcCq for ; Tue, 9 Dec 2014 01:44:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1D51194994 for ; Tue, 9 Dec 2014 01:44:42 +0000 (UTC) Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id 7EA7E25A3DE6; Tue, 9 Dec 2014 02:44:40 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3jxPMX20Ryz5vMr; Tue, 9 Dec 2014 02:44:40 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Tue, 9 Dec 2014 02:44:35 +0100 Message-Id: <1418089476-15360-1-git-send-email-jkrause@posteo.de> X-Mailer: git-send-email 2.1.3 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/musl: fix C library installation directory X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Set the installation path for the libraries to /lib instead of /usr/lib. This fixes an issue when building a toolchain with the musl library by the internal toolchain backend of Buildroot in the first step and import this toolchain later as a custom external toolchain in a second step. For this use case check-musl in toolchain/helpers.mk failed because it did not find the libc or libm in sysroot/lib. This patch superseeds: [PATCH 1/1] toolchain/helpers.mk: fix check-musl http://patchwork.ozlabs.org/patch/417587/ Signed-off-by: Jörg Krause --- package/musl/musl.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/musl/musl.mk b/package/musl/musl.mk index fb4327d..3a45575 100644 --- a/package/musl/musl.mk +++ b/package/musl/musl.mk @@ -27,6 +27,7 @@ define MUSL_CONFIGURE_CMDS --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --prefix=/usr \ + --libdir=/lib \ --disable-gcc-wrapper) endef