From patchwork Thu Feb 11 14:21:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61758 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp190225lbl; Thu, 11 Feb 2016 05:27:13 -0800 (PST) X-Received: by 10.50.36.4 with SMTP id m4mr13541980igj.56.1455197233019; Thu, 11 Feb 2016 05:27:13 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id n9si37830058iga.37.2016.02.11.05.27.12; Thu, 11 Feb 2016 05:27:12 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 64E516673D; Thu, 11 Feb 2016 13:27:12 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=PdzvwDnl; dkim-adsp=none (unprotected policy); dkim-atps=neutral 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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, 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 824FC66754; Thu, 11 Feb 2016 13:23:18 +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 404B16672D; Thu, 11 Feb 2016 13:22:58 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by lists.linaro.org (Postfix) with ESMTPS id C1E136672C for ; Thu, 11 Feb 2016 13:22:52 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id j78so31402584lfb.1 for ; Thu, 11 Feb 2016 05:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jG6RawYvB+nPEAIStxvbC8ga0GgymXha/QKj+lTWo0E=; b=PdzvwDnlGwjaaVb6B2SudFXMiuKU0lVNakPKBWNMEiHehC98Ek6ud6B62VlDGMKWP/ mxAGzv4qNekhJBjESQ42rDFAOuHMcVDJxvoMPvE59O7V33NJaBu5bOBwzWy4+r1Oxcz4 RYrs+CLQaZxLtilQFkswsq7G0MCsdWEOWntJQ= 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=jG6RawYvB+nPEAIStxvbC8ga0GgymXha/QKj+lTWo0E=; b=ROoa606r5QRGL10YpLznEndGdi5pzTv4iKqbpAN3cbS6Lf9vHDdfUiX+Yv6QALKLPm W3t7qwRM8LBc5IVA8vmPeJCWOtQm91sx1sO5OJ6Ih76vmDWQQgxWzDB23S5cWFjeCq+5 Nur8V4fa5z9tc/fDrLumgOifmBjYJsm7tblVDnrqJofSoMphBqvwLcNKUY0L4jtTLjN4 Mt7k7zAqtgIhRL96DO3JVtGk1lTytbOjyGLnnmTRcwl66xUJU88RR5clidfnEPSjFw2k qNd6MJ712/oZLJun5SFCKDqsINmiQvCKXXOMDj88T9Fi3qFAHwB0XP9GPXxPkioBgSYg YmVA== X-Gm-Message-State: AG10YOQssf5VhV3r9gQshkM9aFEb625bHbLT7dwDnABs0VcnXA02DX04aLcit7MO68vHKnG44y0= X-Received: by 10.25.90.3 with SMTP id o3mr5490196lfb.166.1455196971695; Thu, 11 Feb 2016 05:22:51 -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 ke9sm1204053lbc.28.2016.02.11.05.22.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 05:22:51 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Thu, 11 Feb 2016 15:21:44 +0100 Message-Id: <1455200504-57373-5-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455200504-57373-1-git-send-email-christophe.milard@linaro.org> References: <1455200504-57373-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCHv6 4/4] api: odp.h to ease transition period 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" The former odp.h (now called odp_api.h) is recreated here and just includes odp_api.h. This is to ease the transition period for ODP applications, but this file (odp.h) is meant to be removed in the future. ODP applications should include odp_api.h, but those including odp.h will keep working during this transition period. Signed-off-by: Christophe Milard Reviewed-by: Bill Fischofer --- include/odp.h | 23 +++++++++++++++++++++++ platform/linux-generic/Makefile.am | 1 + 2 files changed, 24 insertions(+) create mode 100644 include/odp.h diff --git a/include/odp.h b/include/odp.h new file mode 100644 index 0000000..26c2f7a --- /dev/null +++ b/include/odp.h @@ -0,0 +1,23 @@ +/* Copyright (c) 2016, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * WARNING: THIS FILE IS DEPRECATED AND WILL BE REMOVED!!! + * ODP APPLICATIONS SHOULD NOW INCLUDE odp_api.h INSTEAD. + * + * This file is here to ease the transition period but will be removed. + * This change has been made to enable the creation of other ODP interfaces. + * + */ + +#ifndef ODP_H_ +#define ODP_H_ + +#include + +#endif diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index fb7f030..5e1a328 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -9,6 +9,7 @@ AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -I$(top_srcdir)/helper/include include_HEADERS = \ + $(top_srcdir)/include/odp.h \ $(top_srcdir)/include/odp_api.h odpapiincludedir= $(includedir)/odp/api