From patchwork Thu Aug 28 10:16:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 36174 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E99A0202DD for ; Thu, 28 Aug 2014 10:16:56 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id c9sf4160284qcz.4 for ; Thu, 28 Aug 2014 03:16: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=/sdP2SZNMjGfjsisDto8gtF/d0e7DmhwFHOKwZIJbB8=; b=ZQzfbX4L5XiXUWh2OyC3vh50aeyqO20uZxPNoBm07Vy/eJ6pIICU7yxHn7HfODwenv m5Ixcp1kIPWiNBLu9dlt3+7j34KB1F93ve/1axsdwopDNW3ARQLOUC+RQPEPwBSbwZYa g9bMK2HdELGLHYb9nnthwSezcH72MhpKd+nOAw76d+iyB3gIhH0UaqmY32+SzlLIhM5R 6OurztoVDMmeobtjpEKKlS6Iw99yCgK+yitO6vjGCi5l/6WPX0HuoNiLt70Pv9PGPRhD anQQ6l2SJrhbgxik9uSh6jsg2wR4r0rW3Wmry6yCXvHGjVxUPqCqJrc6j9BxQGoPDgjC Ks/A== X-Gm-Message-State: ALoCoQn9gFzQCDZI2xo9Bz1umDEvjYj61eZfUgJ7dpV6WFLEO/BHVZQ3I8mlkp8IG6j+ZL3TGULm X-Received: by 10.236.108.172 with SMTP id q32mr1713021yhg.0.1409221016676; Thu, 28 Aug 2014 03:16:56 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.230 with SMTP id j93ls533176qgd.40.gmail; Thu, 28 Aug 2014 03:16:56 -0700 (PDT) X-Received: by 10.220.166.68 with SMTP id l4mr2354407vcy.20.1409221016537; Thu, 28 Aug 2014 03:16:56 -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 f5si2985845vcz.99.2014.08.28.03.16.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 03:16:56 -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 ik5so537980vcb.21 for ; Thu, 28 Aug 2014 03:16:56 -0700 (PDT) X-Received: by 10.220.97.5 with SMTP id j5mr2380587vcn.16.1409221016425; Thu, 28 Aug 2014 03:16: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 uj3csp211807vcb; Thu, 28 Aug 2014 03:16:55 -0700 (PDT) X-Received: by 10.229.67.69 with SMTP id q5mr4735951qci.25.1409221015758; Thu, 28 Aug 2014 03:16:55 -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 r8si4945520qch.36.2014.08.28.03.16.55 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 28 Aug 2014 03:16:55 -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 1XMwlC-0004Mu-3k; Thu, 28 Aug 2014 10:16:54 +0000 Received: from mail-lb0-f182.google.com ([209.85.217.182]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XMwl2-0004MT-Tp for lng-odp@lists.linaro.org; Thu, 28 Aug 2014 10:16:45 +0000 Received: by mail-lb0-f182.google.com with SMTP id u10so602205lbd.41 for ; Thu, 28 Aug 2014 03:16:38 -0700 (PDT) X-Received: by 10.112.128.233 with SMTP id nr9mr3023137lbb.43.1409220998764; Thu, 28 Aug 2014 03:16:38 -0700 (PDT) Received: from uglx0153363.synapse.com ([195.238.92.128]) by mx.google.com with ESMTPSA id j3sm2080216lah.0.2014.08.28.03.16.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Aug 2014 03:16:38 -0700 (PDT) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Thu, 28 Aug 2014 13:16:29 +0300 Message-Id: <1409220991-12011-2-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409220991-12011-1-git-send-email-taras.kondratiuk@linaro.org> References: <1409220991-12011-1-git-send-email-taras.kondratiuk@linaro.org> X-Topics: patch Cc: Taras Kondratiuk Subject: [lng-odp] [PATCHv2 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.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 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 b549001..f4bd570 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 b549001..f4bd570 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 += \