From patchwork Tue Jul 29 12:13:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34469 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4862420DCC for ; Tue, 29 Jul 2014 12:14:09 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf61435232pab.0 for ; Tue, 29 Jul 2014 05:14:08 -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=xDCOyGVhD3ocp2OUw0WUunWPre8ONOAvEb6OxUEKRak=; b=nJsJzZ3K7XNNQE3jELR/0T393RO2VDQYRYsIR7dk487DJkA0zaPJTscDI0Bew9eBNR BWx4P399HctauzUsMnaOcqSls6T7lDCReFOqbVafWaTEdYZ+kHXeiaewQz+4NSNmpZAo nbIppqQ76x1825USV/GFEipzzur0ZS+faeGIy3h/YmXcNrn98GOmp9FMD8c6g0YMFsuu 3AtK/OSA7TpMrJcuOB73X2Twx59IXLCIT3Wg6+87nQr7+x7eicwUv8LL4Vx5T45bNHlq IBA3725vBczrNY8uUGOROsgu+BzrhsR20LD8lSXhzGGg4dy1j4f12gRuzkvhnEyb7G+J rokQ== X-Gm-Message-State: ALoCoQkn16wdjla3/OAMrKwmiEprZDl8Fb14MBWbGt7O3kN+PRuW9qk72viu+CA+FdFgNgeh7VjG X-Received: by 10.66.150.225 with SMTP id ul1mr622435pab.20.1406636048300; Tue, 29 Jul 2014 05:14:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.68 with SMTP id h62ls55452qge.52.gmail; Tue, 29 Jul 2014 05:14:08 -0700 (PDT) X-Received: by 10.52.52.136 with SMTP id t8mr1003130vdo.21.1406636048144; Tue, 29 Jul 2014 05:14:08 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id im6si14444034vec.49.2014.07.29.05.14.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:14:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id id10so13208320vcb.7 for ; Tue, 29 Jul 2014 05:14:08 -0700 (PDT) X-Received: by 10.52.244.138 with SMTP id xg10mr1034556vdc.40.1406636048040; Tue, 29 Jul 2014 05:14:08 -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 tc5csp239687vcb; Tue, 29 Jul 2014 05:14:07 -0700 (PDT) X-Received: by 10.229.230.136 with SMTP id jm8mr3000787qcb.4.1406636047442; Tue, 29 Jul 2014 05:14:07 -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 e7si22840081qaa.98.2014.07.29.05.14.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:14:07 -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 1XC6IA-0002UC-K7; Tue, 29 Jul 2014 12:14:06 +0000 Received: from mail-la0-f41.google.com ([209.85.215.41]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XC6I4-0002TZ-2h for lng-odp@lists.linaro.org; Tue, 29 Jul 2014 12:14:00 +0000 Received: by mail-la0-f41.google.com with SMTP id s18so6576744lam.14 for ; Tue, 29 Jul 2014 05:13:53 -0700 (PDT) X-Received: by 10.152.8.82 with SMTP id p18mr1904590laa.83.1406636033882; Tue, 29 Jul 2014 05:13:53 -0700 (PDT) Received: from localhost (c-2ec28468-74736162.cust.telenor.se. [46.194.132.104]) by mx.google.com with ESMTPSA id e5sm14131784laf.3.2014.07.29.05.13.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:13:53 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 29 Jul 2014 14:13:42 +0200 Message-Id: <1406636024-5348-2-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406636024-5348-1-git-send-email-anders.roxell@linaro.org> References: <1406636024-5348-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv7 1/3] configure.ac: add sdk-install-path 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.176 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 Reviewed-and-Tested-by: Taras Kondratiuk --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 97089e9..3791802 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,15 @@ AC_ARG_WITH([platform], AC_SUBST([with_platform]) +AC_ARG_WITH([sdk-install-path], +AC_HELP_STRING([--with-sdk-install-path=DIR Path to external libs and headers], + [(or in the default path if not specified).]), +[SDK_INSTALL_PATH=$withval SDK_INSTALL_PATH_=1],[SDK_INSTALL_PATH_=]) + +AC_SUBST(SDK_INSTALL_PATH) + +AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) + ########################################################################## # Enable/disable netmap support ##########################################################################