From patchwork Tue Jul 29 10:43:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34461 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B6C11202E4 for ; Tue, 29 Jul 2014 10:44:35 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id et14sf60740826pad.2 for ; Tue, 29 Jul 2014 03:44:34 -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=3kUeMzpWpvs4SYJhMVhCV35YVzHFj9R1WDw6g/v5tqs=; b=JgLl8L5dxEkRA0xxzKy3mvQdEaKjsIMS/GD7LKQin+GesViHb70sm0WjT3pwq9JySx zCYJiYCK6d0t2yb70C5i59H/bLsg8vwJeLUnx5bExpSb6DjAPO32mm1HapKEE+CmovM3 SagRIgGDoPZHF1pSt9lTOrTX2xnrh13/0+2NcMtxGgxhYBrJNPUYwyBD4PCsv0i13stv xcc9rmDAk87j8B4PG5hlB3idxrtAL9kU8Hf2RZeWefNEwsPKpzXJnEMWzHLueZ47S18K SD7dFdm6Lmq/5tQDc+tACjFxKYQ7fogovUlm/xNCFWPeldfAAK2ezaSsfJdSQ2zMZEcN Uj1g== X-Gm-Message-State: ALoCoQkwAU5xUlMH+/LByV9cYWmTpMUjh0tuzgMs3f49p3gXENSC+Hm7wmcvNWhvU8lqIiORmE/R X-Received: by 10.66.228.70 with SMTP id sg6mr410889pac.2.1406630674767; Tue, 29 Jul 2014 03:44:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.76 with SMTP id 70ls69502qgu.92.gmail; Tue, 29 Jul 2014 03:44:34 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr822005vcb.48.1406630674626; Tue, 29 Jul 2014 03:44:34 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id 16si14249497vdd.92.2014.07.29.03.44.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jul 2014 03:44:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so13176992vcb.37 for ; Tue, 29 Jul 2014 03:44:34 -0700 (PDT) X-Received: by 10.52.253.140 with SMTP id aa12mr662114vdd.11.1406630674554; Tue, 29 Jul 2014 03:44:34 -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 tc5csp234734vcb; Tue, 29 Jul 2014 03:44:34 -0700 (PDT) X-Received: by 10.140.33.200 with SMTP id j66mr1751980qgj.81.1406630674091; Tue, 29 Jul 2014 03:44:34 -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 t6si37154949qak.29.2014.07.29.03.44.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 03:44:34 -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 1XC4tV-0000DS-9L; Tue, 29 Jul 2014 10:44:33 +0000 Received: from mail-la0-f45.google.com ([209.85.215.45]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XC4tL-0000Cl-0D for lng-odp@lists.linaro.org; Tue, 29 Jul 2014 10:44:23 +0000 Received: by mail-la0-f45.google.com with SMTP id ty20so6409442lab.18 for ; Tue, 29 Jul 2014 03:44:17 -0700 (PDT) X-Received: by 10.152.5.167 with SMTP id t7mr1565759lat.54.1406630656962; Tue, 29 Jul 2014 03:44:16 -0700 (PDT) Received: from localhost (c-2ec28468-74736162.cust.telenor.se. [46.194.132.104]) by mx.google.com with ESMTPSA id h3sm904485lah.20.2014.07.29.03.44.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 03:44:16 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 29 Jul 2014 12:43:56 +0200 Message-Id: <1406630637-26294-3-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406630637-26294-1-git-send-email-anders.roxell@linaro.org> References: <1406630637-26294-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv5 2/3] keystone2: make use of variable --with-sdk-install-path 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.178 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 Signed-off-by: Anders Roxell --- platform/linux-keystone2/Makefile.am | 5 +++++ platform/linux-keystone2/README | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/platform/linux-keystone2/Makefile.am b/platform/linux-keystone2/Makefile.am index 12c9f5c..2366ec4 100644 --- a/platform/linux-keystone2/Makefile.am +++ b/platform/linux-keystone2/Makefile.am @@ -9,6 +9,11 @@ nodist_pkgconfig_DATA = $(top_builddir)/pkgconfig/libodp.pc .PHONY: pkgconfig/libodp.pc KS2_PLATFORM = DEVICE_K2K +if SDK_INSTALL_PATH_ +KS2_PLATFORM += -I$(SDK_INSTALL_PATH)/usr/include + +AM_LDFLAGS += -L$(SDK_INSTALL_PATH)/usr/lib +endif PLAT_CFLAGS = -D$(KS2_PLATFORM) PLAT_CFLAGS += -D_GNU_SOURCE -DEM_32_BIT -DTI_EM_CENTRAL_SCHED diff --git a/platform/linux-keystone2/README b/platform/linux-keystone2/README index 2f95b98..244ac79 100644 --- a/platform/linux-keystone2/README +++ b/platform/linux-keystone2/README @@ -33,5 +33,6 @@ Check README file in OpenEM root directory for build instructions. 3. Keystone2 ODP build ./bootstrap -./configure --host=arm-linux-gnueabihf --with-platform=linux-keystone2 LDFLAGS=-L/usr/lib CFLAGS=-I/usr/include +./configure --host=arm-linux-gnueabihf --with-platform=linux-keystone2 --with-sdk-install-path= +# if openem is installed to the default path then you don't need to specify --with-sdk-install-path= when you run configure. make