From patchwork Tue Mar 3 09:17:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 445610 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id EDF651400F1 for ; Tue, 3 Mar 2015 20:19:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=S4aC7y2m; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2445A91C80; Tue, 3 Mar 2015 09:19:26 +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 LB3GGJC0WKYz; Tue, 3 Mar 2015 09:19:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D72C90E02; Tue, 3 Mar 2015 09:19:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 4C2531C0B50 for ; Tue, 3 Mar 2015 09:19:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 499FC32E44 for ; Tue, 3 Mar 2015 09:19:10 +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 T0KSJs7Dnywx for ; Tue, 3 Mar 2015 09:19:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by silver.osuosl.org (Postfix) with ESMTPS id 58F2532BC5 for ; Tue, 3 Mar 2015 09:19:09 +0000 (UTC) Received: by pdbfp1 with SMTP id fp1so9789025pdb.7 for ; Tue, 03 Mar 2015 01:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=V2euyydC3O4MkP3OGDNAlqj7ObMcKWF/te81cd9OmzQ=; b=S4aC7y2mc33WjYXWKOP6hu58SKegEucsr2KDFZzgRx4m/7hStVasMxw1Q5ZlVj0UBN 4CPSOUmw6sMNsTVToayLZFnueMkNApxITNqJWGxLwGTahonC86P3oXDGtoTROLe1TJD6 lofLHGKUmOAYMkF8OHsq1FXEnN5D0khyYjjWwAyhosM8gPi2YbcpJ5hHk1+LsHjLa2Ps mcQf/I/x8ls8PePGoUryGtR6pK5iHXmDhJ+VR0jaElWxQmTvYlTZZOGEdyarzNw5SwSF b91y374BXOkAaiRb5bXEN942rQ8+ovB0+nDtC45dtwk8Z+vqncOvaw+V8gXwhMEXfGB8 I7Cw== X-Received: by 10.66.221.227 with SMTP id qh3mr54333585pac.1.1425374349166; Tue, 03 Mar 2015 01:19:09 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id fs13sm323638pdb.38.2015.03.03.01.19.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 01:19:08 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 3 Mar 2015 10:17:33 +0100 Message-Id: <1425374255-6827-29-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> References: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [RFC v3 28/30] pkgconf: Move PKG_CONFIG_HOST_BINARY to Makefile.in 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This is in order to support the per-package staging directory. Because the PKG_CONFIG_HOST_BINARY will be used inside the pkg-generic.mk, move the definition in the Makefile.in so it will be loaded before the pkg-generic.mk. Signed-off-by: Fabio Porcedda --- package/Makefile.in | 2 ++ package/pkgconf/pkgconf.mk | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/Makefile.in b/package/Makefile.in index 88ace05..6cfe3ed 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -247,6 +247,8 @@ export PERL=$(shell which perl) # finds this perl module by exporting the proper value for PERL5LIB. export PERL5LIB=$(HOST_DIR)/usr/lib/perl +PKG_CONFIG_HOST_BINARY = $(HOST_DIR)/usr/bin/pkg-config + TARGET_CONFIGURE_OPTS = \ PATH=$(BR_PATH) \ AR="$(TARGET_AR)" \ diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk index a27c084..7feeb4f 100644 --- a/package/pkgconf/pkgconf.mk +++ b/package/pkgconf/pkgconf.mk @@ -10,8 +10,6 @@ PKGCONF_SOURCE = pkgconf-$(PKGCONF_VERSION).tar.bz2 PKGCONF_LICENSE = pkgconf license PKGCONF_LICENSE_FILES = COPYING -PKG_CONFIG_HOST_BINARY = $(HOST_DIR)/usr/bin/pkg-config - define PKGCONF_LINK_PKGCONFIG ln -sf pkgconf $(TARGET_DIR)/usr/bin/pkg-config endef