From patchwork Tue Dec 9 01:44:36 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: 418927 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 428451400DE for ; Tue, 9 Dec 2014 12:44:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8324032D8F; Tue, 9 Dec 2014 01:44:51 +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 EfbBT1e3Zohz; Tue, 9 Dec 2014 01:44:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7CEC432A52; Tue, 9 Dec 2014 01:44:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AE55E1C2851 for ; Tue, 9 Dec 2014 01:44:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ABEA9A1261 for ; Tue, 9 Dec 2014 01:44:44 +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 kojCNNgr21m7 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 fraxinus.osuosl.org (Postfix) with ESMTPS id 51616A125E for ; Tue, 9 Dec 2014 01:44:43 +0000 (UTC) Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id BB6E825A3DE7; 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 3jxPMX3qWKz5vMr; 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:36 +0100 Message-Id: <1418089476-15360-2-git-send-email-jkrause@posteo.de> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418089476-15360-1-git-send-email-jkrause@posteo.de> References: <1418089476-15360-1-git-send-email-jkrause@posteo.de> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/musl: remove obsolete setting of prefix 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" Using the config option '--libdir=/lib' makes the setting of prefix to an empty path obsolete in MUSL_INSTALL_TARGET_CMDS. Signed-off-by: Jörg Krause --- package/musl/musl.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/musl/musl.mk b/package/musl/musl.mk index 3a45575..1f1af05 100644 --- a/package/musl/musl.mk +++ b/package/musl/musl.mk @@ -40,11 +40,9 @@ define MUSL_INSTALL_STAGING_CMDS DESTDIR=$(STAGING_DIR) install-libs install-tools install-headers endef -# prefix is set to an empty value to get the C library installed in -# /lib and not /usr/lib define MUSL_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR=$(TARGET_DIR) prefix= install-libs + DESTDIR=$(TARGET_DIR) install-libs $(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o Scrt1.o) endef