From patchwork Wed Sep 10 17:07:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 37211 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0797020293 for ; Wed, 10 Sep 2014 17:07:57 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id a108sf20929490qge.10 for ; Wed, 10 Sep 2014 10:07:56 -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:cc: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=ejTp9btAGwdCy4znFSF0ACiiH4jMuLW9vWXGltmzdmI=; b=EPmkbVRsNzuJI781WcpDiD/tSJusarlRCQAEY9uWj6qfKgB1WJijITasLjXZIx9dSj bIQhwvcz9rqHJuYw9TeG7z6OF/qxKX2JDoCdtDoCg53WNzcEiTqG1qu+GrxvO5vJqN3H 4jdHHnyBuar+tbiEVpSxjUT5e5muuXU8pMbh8lY2FkR9r+Lds4bY+LKAliwJNgCreTUt WIyulYgjLHT+ripc6woEWNonmZhToWlXenKIxs6p5KXlQomRvGfZN/4o+qRQ/lJwTg34 JTjWCDEC3lCINrEFPU3KGZ4CXXD7BC9iyf+6E+7C9IMgfmoXoAd6Q5mm282KiRGZQRBb BL3w== X-Gm-Message-State: ALoCoQkuU0Ms7S/KpwxbBE0YsXeyIkr504KcbzLeJFcnl8v6bp9CTX1DJIuMCMlyLoUBW46xgIAG X-Received: by 10.236.31.129 with SMTP id m1mr12570378yha.47.1410368876871; Wed, 10 Sep 2014 10:07:56 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.239 with SMTP id o102ls2566372qge.70.gmail; Wed, 10 Sep 2014 10:07:56 -0700 (PDT) X-Received: by 10.52.156.100 with SMTP id wd4mr18076958vdb.39.1410368876804; Wed, 10 Sep 2014 10:07:56 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id bs11si7135193vdb.76.2014.09.10.10.07.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 10:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ik5so2417738vcb.0 for ; Wed, 10 Sep 2014 10:07:56 -0700 (PDT) X-Received: by 10.52.231.65 with SMTP id te1mr1121902vdc.86.1410368876719; Wed, 10 Sep 2014 10:07:56 -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.45.67 with SMTP id uj3csp468195vcb; Wed, 10 Sep 2014 10:07:56 -0700 (PDT) X-Received: by 10.140.90.42 with SMTP id w39mr51611055qgd.88.1410368876119; Wed, 10 Sep 2014 10:07:56 -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 101si18160728qgt.101.2014.09.10.10.07.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 10 Sep 2014 10:07:56 -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 1XRlN4-0001UC-FX; Wed, 10 Sep 2014 17:07:54 +0000 Received: from mail-la0-f52.google.com ([209.85.215.52]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XRlMu-0001Tl-RC for lng-odp@lists.linaro.org; Wed, 10 Sep 2014 17:07:44 +0000 Received: by mail-la0-f52.google.com with SMTP id b8so10282777lan.11 for ; Wed, 10 Sep 2014 10:07:39 -0700 (PDT) X-Received: by 10.152.7.8 with SMTP id f8mr18540737laa.27.1410368858733; Wed, 10 Sep 2014 10:07:38 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id lg9sm5478570lab.25.2014.09.10.10.07.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 10:07:38 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Wed, 10 Sep 2014 20:07:20 +0300 Message-Id: <1410368842-29114-2-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1410368842-29114-1-git-send-email-taras.kondratiuk@linaro.org> References: <1410368842-29114-1-git-send-email-taras.kondratiuk@linaro.org> X-Topics: patch Cc: Taras Kondratiuk Subject: [lng-odp] [PATCHv3 1/3] Add platform-specific Makefile.inc for applications 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: taras.kondratiuk@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.169 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 Platform-specific Makefile.inc is useful when application need to be built with platform-specific configuration: SDK search path, configurations, etc. Signed-off-by: Taras Kondratiuk Signed-off-by: Taras Kondratiuk --- example/Makefile.inc | 1 + test/Makefile.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 platform/linux-dpdk/Makefile.inc create mode 100644 platform/linux-generic/Makefile.inc create mode 100644 platform/linux-keystone2/Makefile.inc diff --git a/example/Makefile.inc b/example/Makefile.inc index 4de2feb..b096a9c 100644 --- a/example/Makefile.inc +++ b/example/Makefile.inc @@ -1,4 +1,5 @@ include $(top_srcdir)/Makefile.inc +include $(top_srcdir)/platform/@with_platform@/Makefile.inc LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp.la AM_CFLAGS += \ diff --git a/platform/linux-dpdk/Makefile.inc b/platform/linux-dpdk/Makefile.inc new file mode 100644 index 0000000..e69de29 diff --git a/platform/linux-generic/Makefile.inc b/platform/linux-generic/Makefile.inc new file mode 100644 index 0000000..e69de29 diff --git a/platform/linux-keystone2/Makefile.inc b/platform/linux-keystone2/Makefile.inc new file mode 100644 index 0000000..e69de29 diff --git a/test/Makefile.inc b/test/Makefile.inc index 4de2feb..b096a9c 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -1,4 +1,5 @@ include $(top_srcdir)/Makefile.inc +include $(top_srcdir)/platform/@with_platform@/Makefile.inc LIB = $(top_builddir)/lib LDADD = $(LIB)/libodp.la AM_CFLAGS += \