From patchwork Sun Jun 28 19:42:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 489162 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A5CE6140779 for ; Mon, 29 Jun 2015 05:43:45 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Div5iXrF; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D0FCEA1624; Sun, 28 Jun 2015 19:43: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 Dv7Ov85n_GZd; Sun, 28 Jun 2015 19:43:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5E2ACA1695; Sun, 28 Jun 2015 19:43:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 784091C1EFA for ; Sun, 28 Jun 2015 19:43:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7597F8A3A7 for ; Sun, 28 Jun 2015 19:43:07 +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 wR8q+qG5nH8B for ; Sun, 28 Jun 2015 19:43:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5DF968979B for ; Sun, 28 Jun 2015 19:43:06 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so82363681wic.1 for ; Sun, 28 Jun 2015 12:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ujmxn+XUvTHU8G+KzBJXAG+2XHBS9FmHLekWZhnqNu0=; b=Div5iXrFo+yYWfJSFmGUh/wSTrAShxQsfYjdgyqeYtYlVCXqYbQ92kLyoevwWBT7SR 7Q4z2c24Plpmpq83usi3+hsVAOVB07RDvJ9LOvUkAWFu7T4ASFImdXOHSsiijqveVYW8 lk4dYsmtKlLBZwJvUlJLmaSdEiqZd6DaSMESQZjiJDkBW7V4ysqHY7CWxEGw7oL2CS7N HOBu9TjuMijyxKOe3SZN9r1Cfyz9/1SQHpL4I0kbjUu/yOkOKIFMkT/tZUmCTRBFSMs+ l/EvQJ0UEOwG3HBalS45F63/3NDm1WmvbrGnZawmhXc12/V5pqwxvRIaHxQGNp7Lhfs7 lU+Q== X-Received: by 10.194.172.130 with SMTP id bc2mr23865079wjc.85.1435520584984; Sun, 28 Jun 2015 12:43:04 -0700 (PDT) Received: from beast.localdomain (dynamic-adsl-78-15-144-100.clienti.tiscali.it. [78.15.144.100]) by mx.google.com with ESMTPSA id ex8sm3789243wjc.34.2015.06.28.12.43.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 12:43:04 -0700 (PDT) From: Fabio Porcedda To: buildroot@uclibc.org Date: Sun, 28 Jun 2015 21:42:43 +0200 Message-Id: <1435520570-20332-10-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1435520570-20332-1-git-send-email-fabio.porcedda@gmail.com> References: <1435520570-20332-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [RFC v4 09/16] infra: add GCC_SYSROOT environment variable to support pps feature 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" In order to support the per-package staging feature, add the GCC_SYSROOT environment variable to the TARGET_CONFIGURE_OPTS and TARGET_MAKE_ENV variables. Signed-off-by: Fabio Porcedda --- package/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 2ed7cf7..924c808 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -280,9 +280,10 @@ TARGET_CONFIGURE_OPTS = \ FCFLAGS="$(TARGET_FCFLAGS)" \ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ STAGING_DIR="$(STAGING_DIR)" \ + GCC_SYSROOT="$(STAGING_DIR)" \ INTLTOOL_PERL=$(PERL) -TARGET_MAKE_ENV = PATH=$(BR_PATH) +TARGET_MAKE_ENV = PATH=$(BR_PATH) GCC_SYSROOT="$(STAGING_DIR)" HOST_CONFIGURE_OPTS = \