From patchwork Tue Mar 1 16:34:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 63309 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1897438lbc; Tue, 1 Mar 2016 07:36:57 -0800 (PST) X-Received: by 10.55.76.15 with SMTP id z15mr27453093qka.32.1456846617679; Tue, 01 Mar 2016 07:36:57 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w187si31251881qhw.32.2016.03.01.07.36.57; Tue, 01 Mar 2016 07:36:57 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 47BAA62F5C; Tue, 1 Mar 2016 15:36:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EF0C462F4E; Tue, 1 Mar 2016 15:36:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E2F4F62F4A; Tue, 1 Mar 2016 15:36:24 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by lists.linaro.org (Postfix) with ESMTPS id D379162F45 for ; Tue, 1 Mar 2016 15:36:22 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id l83so68542083lfd.3 for ; Tue, 01 Mar 2016 07:36:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BvwTCLixurkgZuu/bxjqLyewGJfNSVhT+vunx1sZ+Fc=; b=DaOQvQqHDIq7QUcVqJ4jNaeLZYMc6bFgTif2gqm07pgs9QC9gQgIA2BInL+4Tb5428 LqqBdpqHxLHdVaRp8gRT6F4vV/fqipj8p+wqsaxVvt7I5ttH81BbxBsDs9HLR0nb1L0Z dn0ToSVJvM8ax+1KV/eTCJmG0Ybr2DosGDZ1WF6cy0p0IFt4eihVtIA3dxmUxoe8QUOr F3tWRU5aaQZ7xcVlSxtHWa+zfK1/4yjFYjMLdtLxsDdMzx4ENurglOeb2Ryo24f2aeEG CpLHV4rroSaqc1NfS3IzmOkLFTRmTlKbBmiwKBQ4cL/DaODBgZeaFO1zuaxp5Q2n9nOK BrGw== X-Gm-Message-State: AD7BkJJJOmd82v+TAqBQqJvgdTPdyJE8t8Rx73xIOXxgMxx/iQ43u2tGI8R7BtI3/DKJbwWEVUg= X-Received: by 10.25.8.4 with SMTP id 4mr8101372lfi.164.1456846581739; Tue, 01 Mar 2016 07:36:21 -0800 (PST) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id um4sm4948639lbb.1.2016.03.01.07.36.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 07:36:21 -0800 (PST) From: Christophe Milard To: mike.holmes@linaro.org Date: Tue, 1 Mar 2016 17:34:53 +0100 Message-Id: <1456850094-39712-2-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456850094-39712-1-git-send-email-christophe.milard@linaro.org> References: <1456850094-39712-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 1/2] linux-generic: test: adding odp includes X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" A new Makefile.inc is created, defining common includes that linux specific tests will need if they need to build with ODP. Tests just acting as wrappers around platform agnostic tests will not need these defines, whereas tests building ODP executable will. Signed-off-by: Christophe Milard --- platform/linux-generic/test/Makefile.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 platform/linux-generic/test/Makefile.inc diff --git a/platform/linux-generic/test/Makefile.inc b/platform/linux-generic/test/Makefile.inc new file mode 100644 index 0000000..9a7cb6a --- /dev/null +++ b/platform/linux-generic/test/Makefile.inc @@ -0,0 +1,16 @@ +# The following definitions may be used by platform tests that wish to +# build specific ODP applications, (i.e those whose do more than validation +# test wrapping) + +AM_LDFLAGS += -static + +LIBCUNIT_COMMON = $(top_builddir)/test/validation/common/libcunit_common.la +LIB = $(top_builddir)/lib +LIBODP = $(LIB)/libodphelper.la $(LIB)/libodp.la + +INCCUNIT_COMMON = -I$(top_srcdir)/test/validation/common +INCODP = -I$(top_srcdir)/test \ + -I$(top_srcdir)/platform/@with_platform@/include \ + -I$(top_srcdir)/platform/@with_platform@/arch/$(ARCH) \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/helper/include