From patchwork Tue Jul 29 11:58:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 34467 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 3EC1F202E4 for ; Tue, 29 Jul 2014 11:59:18 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q107sf18725088qgd.3 for ; Tue, 29 Jul 2014 04:59:17 -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=YjaQYAOEw9uiOJgMSPohmVyYGDGPdXNm8Q9Os7YX1lE1CIohsZaKv8YO7IGbXo5s75 3ZZ3YROzOviYK8wMb0JobaOFKtEded32XCudatGRSXQ6g+rhJZctWycH0grA9amU6oPo XWxKlqEBBAavL7Eb0JqKg+BKX0b/VYCnvjBx/i/hlKQuWiAMArvGAXx7/DVgppE4iLJ9 6T3x+EtfJ9Gl7dSW2i167b/hIpBtDjVqZQYiIPaRnvy6zOpXv/UpQGNxM4Rt0BJHO9TF SDwpSXT1KIlWPKrvjRMfLvr40P7nsiEbKCebuc4mZCmYwubWWvlGTN9NmLTucsTUAsPF Rhlw== X-Gm-Message-State: ALoCoQlSotpqOhzeWBw3iJfrs/75j0WVG6oRoFKcdW6PRt7716qnI1VJBfavYs3E8OnG+fpq0Azr X-Received: by 10.236.99.8 with SMTP id w8mr426873yhf.31.1406635157191; Tue, 29 Jul 2014 04:59:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.55 with SMTP id a52ls79504qga.14.gmail; Tue, 29 Jul 2014 04:59:17 -0700 (PDT) X-Received: by 10.220.105.201 with SMTP id u9mr1096754vco.11.1406635157029; Tue, 29 Jul 2014 04:59:17 -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 fb5si10032518veb.39.2014.07.29.04.59.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jul 2014 04:59:17 -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 la4so13291671vcb.37 for ; Tue, 29 Jul 2014 04:59:16 -0700 (PDT) X-Received: by 10.52.248.146 with SMTP id ym18mr981912vdc.8.1406635156950; Tue, 29 Jul 2014 04:59:16 -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 tc5csp238712vcb; Tue, 29 Jul 2014 04:59:15 -0700 (PDT) X-Received: by 10.140.106.225 with SMTP id e88mr2702261qgf.20.1406635155540; Tue, 29 Jul 2014 04:59:15 -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 t4si2853260qcc.40.2014.07.29.04.59.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 04:59:15 -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 1XC63m-00020I-CH; Tue, 29 Jul 2014 11:59:14 +0000 Received: from mail-la0-f48.google.com ([209.85.215.48]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XC63g-0001za-C7 for lng-odp@lists.linaro.org; Tue, 29 Jul 2014 11:59:08 +0000 Received: by mail-la0-f48.google.com with SMTP id gl10so6364727lab.7 for ; Tue, 29 Jul 2014 04:59:02 -0700 (PDT) X-Received: by 10.153.4.6 with SMTP id ca6mr2052763lad.32.1406635142470; Tue, 29 Jul 2014 04:59:02 -0700 (PDT) Received: from localhost ([46.194.132.104]) by mx.google.com with ESMTPSA id c9sm14103736laa.32.2014.07.29.04.59.00 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jul 2014 04:59:01 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 29 Jul 2014 13:58:47 +0200 Message-Id: <1406635128-31933-3-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406635128-31933-1-git-send-email-anders.roxell@linaro.org> References: <1406635128-31933-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv6 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 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