Message ID | 1487681494-15621-1-git-send-email-petri.savolainen@linaro.org |
---|---|
State | Accepted |
Commit | 39f85bc6cab329b4ae41ba2ec922370c24254325 |
Headers | show |
Series | [1/3] helper: linux: add common linux helper file | expand |
For this series: Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> On Tue, Feb 21, 2017 at 6:51 AM, Petri Savolainen < petri.savolainen@linaro.org> wrote: > Added common helper file for backwards compatibility. This file > includes all headers under helper/linux directory. It's installed > only with --enable-helper-linux configuration option. > > Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> > --- > helper/Makefile.am | 3 +++ > helper/include/odp/helper/linux.h | 27 +++++++++++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 helper/include/odp/helper/linux.h > > diff --git a/helper/Makefile.am b/helper/Makefile.am > index 5757c7c..b478dcd 100644 > --- a/helper/Makefile.am > +++ b/helper/Makefile.am > @@ -32,6 +32,9 @@ helperinclude_HEADERS = \ > $(srcdir)/include/odp/helper/udp.h > > if helper_linux > +helperinclude_HEADERS += \ > + $(srcdir)/include/odp/helper/linux.h > + > helperlinuxincludedir = $(includedir)/odp/helper/linux > helperlinuxinclude_HEADERS = \ > $(srcdir)/include/odp/helper/linux/pthread.h \ > diff --git a/helper/include/odp/helper/linux.h > b/helper/include/odp/helper/linux.h > new file mode 100644 > index 0000000..396203a > --- /dev/null > +++ b/helper/include/odp/helper/linux.h > @@ -0,0 +1,27 @@ > +/* Copyright (c) 2017, Linaro Limited > + * All rights reserved > + * > + * SPDX-License-Identifier: BSD-3-Clause > + */ > + > +/** > + * @file > + * > + * All ODP Linux helpers > + * > + */ > + > +#ifndef ODP_HELPER_LINUX_H_ > +#define ODP_HELPER_LINUX_H_ > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +#include <odp/helper/linux/process.h> > +#include <odp/helper/linux/pthread.h> > + > +#ifdef __cplusplus > +} > +#endif > +#endif > -- > 2.8.1 > >
Ping. This needs to be merged to API next also, so that OFP can build against both branches. -Petri From: Bill Fischofer [mailto:bill.fischofer@linaro.org] Sent: Wednesday, February 22, 2017 1:54 AM To: Petri Savolainen <petri.savolainen@linaro.org> Cc: lng-odp-forward <lng-odp@lists.linaro.org> Subject: Re: [lng-odp] [PATCH 1/3] helper: linux: add common linux helper file For this series: Reviewed-and-tested-by: Bill Fischofer <mailto:bill.fischofer@linaro.org> On Tue, Feb 21, 2017 at 6:51 AM, Petri Savolainen <mailto:petri.savolainen@linaro.org> wrote: Added common helper file for backwards compatibility. This file includes all headers under helper/linux directory. It's installed only with --enable-helper-linux configuration option. Signed-off-by: Petri Savolainen <mailto:petri.savolainen@linaro.org> --- helper/Makefile.am | 3 +++ helper/include/odp/helper/linux.h | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 helper/include/odp/helper/linux.h
Merged, Maxim. On 02/28/17 11:13, Savolainen, Petri (Nokia - FI/Espoo) wrote: > Ping. This needs to be merged to API next also, so that OFP can build against both branches. > > -Petri > > > From: Bill Fischofer [mailto:bill.fischofer@linaro.org] > Sent: Wednesday, February 22, 2017 1:54 AM > To: Petri Savolainen <petri.savolainen@linaro.org> > Cc: lng-odp-forward <lng-odp@lists.linaro.org> > Subject: Re: [lng-odp] [PATCH 1/3] helper: linux: add common linux helper file > > For this series: > > Reviewed-and-tested-by: Bill Fischofer <mailto:bill.fischofer@linaro.org> > > On Tue, Feb 21, 2017 at 6:51 AM, Petri Savolainen <mailto:petri.savolainen@linaro.org> wrote: > Added common helper file for backwards compatibility. This file > includes all headers under helper/linux directory. It's installed > only with --enable-helper-linux configuration option. > > Signed-off-by: Petri Savolainen <mailto:petri.savolainen@linaro.org> > --- > helper/Makefile.am | 3 +++ > helper/include/odp/helper/linux.h | 27 +++++++++++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 helper/include/odp/helper/linux.h > > >
diff --git a/helper/Makefile.am b/helper/Makefile.am index 5757c7c..b478dcd 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -32,6 +32,9 @@ helperinclude_HEADERS = \ $(srcdir)/include/odp/helper/udp.h if helper_linux +helperinclude_HEADERS += \ + $(srcdir)/include/odp/helper/linux.h + helperlinuxincludedir = $(includedir)/odp/helper/linux helperlinuxinclude_HEADERS = \ $(srcdir)/include/odp/helper/linux/pthread.h \ diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h new file mode 100644 index 0000000..396203a --- /dev/null +++ b/helper/include/odp/helper/linux.h @@ -0,0 +1,27 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * All ODP Linux helpers + * + */ + +#ifndef ODP_HELPER_LINUX_H_ +#define ODP_HELPER_LINUX_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include <odp/helper/linux/process.h> +#include <odp/helper/linux/pthread.h> + +#ifdef __cplusplus +} +#endif +#endif
Added common helper file for backwards compatibility. This file includes all headers under helper/linux directory. It's installed only with --enable-helper-linux configuration option. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> --- helper/Makefile.am | 3 +++ helper/include/odp/helper/linux.h | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 helper/include/odp/helper/linux.h -- 2.8.1