From patchwork Tue Jul 29 12:13:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34470 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1DF5020DCC for ; Tue, 29 Jul 2014 12:14:13 +0000 (UTC) Received: by mail-oi0-f70.google.com with SMTP id u20sf46805609oif.1 for ; Tue, 29 Jul 2014 05:14:12 -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=B2t5i+nY4gfeq83sMzJ4LRdzQBcK4BJIrnJKWpWT85I=; b=ZK2pgpbqQXfGEejpxBEpNpj5QbzWKXx18K3Cw6z/HhOI2csa2TB75CaNEuFfLePpVl gs9/SfXT0uj5fR/cFjPV8AQM8dQgXyyQzZPiNvQbuc6n8AKSteoboL0hHdqjDMjDL7Je kUoONdQ3ZsZ+5RHBJ6o/D3LK5a8AYQonKdmyfWIc9tOcuBKxJvSL6ZhBrUKX+N1NxDCf +f9es+V8Xm4+9s7mqyu3daCngguzWfHCNiDNKJUCojhetOV6iRwQTVxaSITfKgy//ket m2hRlVZASYbcf8kxWTzmz6iqoew5Ob0OEBSfXqgmu7W57NQtYUrNaSdv9YlastxO5Jrp bf8w== X-Gm-Message-State: ALoCoQmNqe1FPQHTh6rqt3Opbn1pg/7P64X5xo4GMGo6TTgGnV/gzvU5Xp75sBI/7qyef/hnfvnl X-Received: by 10.182.148.1 with SMTP id to1mr525610obb.50.1406636052669; Tue, 29 Jul 2014 05:14:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.44.75 with SMTP id f69ls79484qga.96.gmail; Tue, 29 Jul 2014 05:14:12 -0700 (PDT) X-Received: by 10.52.239.6 with SMTP id vo6mr962441vdc.59.1406636052579; Tue, 29 Jul 2014 05:14:12 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id ke8si14407940vec.83.2014.07.29.05.14.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so13496473vcb.10 for ; Tue, 29 Jul 2014 05:14:12 -0700 (PDT) X-Received: by 10.220.131.207 with SMTP id y15mr337659vcs.71.1406636052498; Tue, 29 Jul 2014 05:14:12 -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 tc5csp239695vcb; Tue, 29 Jul 2014 05:14:12 -0700 (PDT) X-Received: by 10.140.89.197 with SMTP id v63mr2569157qgd.71.1406636051973; Tue, 29 Jul 2014 05:14:11 -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 t5si19987306qap.132.2014.07.29.05.14.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:14:11 -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 1XC6IF-0002UX-1m; Tue, 29 Jul 2014 12:14:11 +0000 Received: from mail-lb0-f170.google.com ([209.85.217.170]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XC6I7-0002Th-5W for lng-odp@lists.linaro.org; Tue, 29 Jul 2014 12:14:03 +0000 Received: by mail-lb0-f170.google.com with SMTP id w7so6852731lbi.15 for ; Tue, 29 Jul 2014 05:13:57 -0700 (PDT) X-Received: by 10.152.88.109 with SMTP id bf13mr1984475lab.92.1406636037295; Tue, 29 Jul 2014 05:13:57 -0700 (PDT) Received: from localhost (c-2ec28468-74736162.cust.telenor.se. [46.194.132.104]) by mx.google.com with ESMTPSA id f9sm14128206lag.21.2014.07.29.05.13.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 05:13:56 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 29 Jul 2014 14:13:43 +0200 Message-Id: <1406636024-5348-3-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 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.179 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 Reviewed-and-Tested-by: Taras Kondratiuk --- 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..f9c3243 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_ +AM_CFLAGS += -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