From patchwork Wed Feb 10 17:48:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 61685 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2757277lbl; Wed, 10 Feb 2016 08:55:11 -0800 (PST) X-Received: by 10.55.76.15 with SMTP id z15mr49378715qka.32.1455123311165; Wed, 10 Feb 2016 08:55:11 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c8si4509680qkb.35.2016.02.10.08.55.10; Wed, 10 Feb 2016 08:55:11 -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 B789B61C82; Wed, 10 Feb 2016 16:55:10 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=YzY40lPJ; 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 B6FDF66712; Wed, 10 Feb 2016 16:50:38 +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 D4551617E0; Wed, 10 Feb 2016 16:49:54 +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 130E161C7D for ; Wed, 10 Feb 2016 16:49:30 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id m1so15702958lfg.0 for ; Wed, 10 Feb 2016 08:49:30 -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=nLYtn9AFUiTklFQb2KDE/m8jNHH8yE2ZyB4uernRMmY=; b=YzY40lPJwnGsludNp2iDHfW2Lki0JyvYIl3wc7SfZ+uMezktgargedjozi3cLHFyYH NyuoSo70uyLucGcBjVT59FmoPbvgVHaEpkAR1MmPd12+eR/5BFnJBA3IWG7Icjokc+ZV JFsn88EYp6JetzVhe0wCdaRHNFuH8iGifUzuc= 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=nLYtn9AFUiTklFQb2KDE/m8jNHH8yE2ZyB4uernRMmY=; b=UJNkANGVb3Bd825iPs5uEH5HnN2/2Ifw5053nIR7gE/arQrLvG+p1pNQDpz4DUpNgK RjXqvklzzxsxOtcIf+JoJoyvT8KXlTVf/ACVPSwhnJS+FvSxPkoMM+aVyIb7GG9CBBQe Kr6Z9oWLFxpMuOj0ly/qIOyvii7pRwmXvWVxYgVeXRhb+ESkZxQoOc0q6JrHzF6juTZK OwcBULC/99eSUHaHZ3by4DYLteMwQZMhx4ZlwdXZFV8VJFEMrPeaogBhYFC5FsxBDWBV XNzMNG3y4A1vBxaVrymjufLvsV6oGY+ITRto+lTnVscR/RHDHqywJEeS+xw9fcPGWnW7 mp/A== X-Gm-Message-State: AG10YOQ/tjSOgOzvSRqFtNnE7TMTdTEy1qspeD0odL895MqCbT/Z19W85tE1u6bNrWMYSQKAZq8= X-Received: by 10.25.4.210 with SMTP id 201mr17123210lfe.47.1455122969039; Wed, 10 Feb 2016 08:49:29 -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 mj4sm601197lbc.19.2016.02.10.08.49.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Feb 2016 08:49:28 -0800 (PST) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, bill.fischofer@linaro.org, petri.savolainen@linaro.org Date: Wed, 10 Feb 2016 18:48:23 +0100 Message-Id: <1455126503-52094-5-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1455126503-52094-1-git-send-email-christophe.milard@linaro.org> References: <1455126503-52094-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCHv5 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 --- 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