From patchwork Thu Jul 24 14:56:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34226 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 101DC235A9 for ; Thu, 24 Jul 2014 14:57:27 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q107sf6027499qgd.11 for ; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=8yjtvGePYzPT1BCfgtVJKpCdCGPZHCkAvaK8FOPIogw=; b=NI0jLJyh9txN/hPuHksQRqzdtWRF1F14kKEkI1UE+W9RSKOMwWUa5bXwCV7QnoPqqW 6dLPevqvr9lxfUhPn+91oJ+6y3njSaav1pTCw3+0kxAjNwWr/jDNp3NYTpOvkaKw0VuW qVCfAf2xMxSYgt7Ur1yZZ5/MQ8gv8kfbOpBrvEwU/wSMneRkr+4liyUYLQk4qcnZFbIV /su95s7eQugsnu2+n2jm4jBExtzmPS4LepzYP8yJveUDPehOo66ydMnqfkEBqbcPlb+B MHUuECGsxahvErGA0ySQAcTORJlLIgsDiCHSYlFmb4W1k/jB4JvsxKeHehtOjtlIWaAl pqWQ== X-Gm-Message-State: ALoCoQk+z3SFVPmfQLd6TKSMfKWMRjWRS+/vkptVGZNN2yLKMr8MVanZ26AtviM2QwXfwDUImixl X-Received: by 10.224.223.129 with SMTP id ik1mr4450162qab.8.1406213846840; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.136 with SMTP id a8ls900461qgf.2.gmail; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-Received: by 10.52.246.11 with SMTP id xs11mr4022521vdc.96.1406213846696; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id l1si5260423ven.76.2014.07.24.07.57.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 07:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hu12so5063329vcb.20 for ; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-Received: by 10.220.50.8 with SMTP id x8mr12734975vcf.18.1406213846614; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp371795vcb; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) X-Received: by 10.140.98.195 with SMTP id o61mr14860245qge.41.1406213846143; Thu, 24 Jul 2014 07:57:26 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id a13si11407299qge.120.2014.07.24.07.57.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Jul 2014 07:57:26 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XAKSR-0003s6-Td; Thu, 24 Jul 2014 14:57:23 +0000 Received: from mail-lb0-f172.google.com ([209.85.217.172]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XAKSK-0003rf-7v for lng-odp@lists.linaro.org; Thu, 24 Jul 2014 14:57:16 +0000 Received: by mail-lb0-f172.google.com with SMTP id z11so2387151lbi.31 for ; Thu, 24 Jul 2014 07:57:10 -0700 (PDT) X-Received: by 10.112.155.129 with SMTP id vw1mr9553780lbb.7.1406213829943; Thu, 24 Jul 2014 07:57:09 -0700 (PDT) Received: from localhost (c-4f66bc92-74736162.cust.telenor.se. [79.102.188.146]) by mx.google.com with ESMTPSA id d3sm11010539lbw.2.2014.07.24.07.57.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Jul 2014 07:57:08 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Thu, 24 Jul 2014 16:56:54 +0200 Message-Id: <1406213816-22711-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406213816-22711-1-git-send-email-anders.roxell@linaro.org> References: <1406213816-22711-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 1/3] configure.ac: add external-sysroot variable X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Makes it easier for external libs and headers if they aren't in the default path. Signed-off-by: Anders Roxell --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 7320162..7807db5 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,15 @@ AC_ARG_WITH([platform], AC_SUBST([with_platform]) +AC_ARG_WITH([external-sysroot], +AC_HELP_STRING([--with-external-sysroot=DIR Path to external sysroot directory], + [(or in the default path if not specified).]), +[EXTERNAL_SYSROOT=$withval EXTERNAL_SYSROOT_=1],[EXTERNAL_SYSROOT_=]) + +AC_SUBST(EXTERNAL_SYSROOT) + +AM_CONDITIONAL([EXTERNAL_SYSROOT_], [test "x${EXTERNAL_SYSROOT_}" = "x1"]) + ########################################################################## # Enable/disable netmap support ##########################################################################