[libcamera-devel,05/38] libcamera: meson: Add internal headers to sources

Message ID 20200922133537.258098-6-paul.elder@ideasonboard.com
State Superseded
Headers show
Series
  • IPA isolation implementation
Related show

Commit Message

Paul Elder Sept. 22, 2020, 1:35 p.m. UTC
Add libcamera_internal_headers to libcamera_sources.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>

---
New in v2
---
 src/libcamera/meson.build | 1 +
 1 file changed, 1 insertion(+)

Comments

Jacopo Mondi Sept. 23, 2020, 10:44 a.m. UTC | #1
Hi Paul,

On Tue, Sep 22, 2020 at 10:35:04PM +0900, Paul Elder wrote:
> Add libcamera_internal_headers to libcamera_sources.
>

For the build-system-uneducated like me: why ?

> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
>
> ---
> New in v2
> ---
>  src/libcamera/meson.build | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
> index 18ea3261..27182bfc 100644
> --- a/src/libcamera/meson.build
> +++ b/src/libcamera/meson.build
> @@ -53,6 +53,7 @@ libcamera_sources = files([
>  ])
>
>  libcamera_sources += libcamera_public_headers
> +libcamera_sources += libcamera_internal_headers
>
>  includes = [
>      libcamera_includes,
> --
> 2.27.0
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel@lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
Laurent Pinchart Sept. 23, 2020, 12:27 p.m. UTC | #2
On Wed, Sep 23, 2020 at 12:44:41PM +0200, Jacopo Mondi wrote:
> On Tue, Sep 22, 2020 at 10:35:04PM +0900, Paul Elder wrote:
> > Add libcamera_internal_headers to libcamera_sources.
> 
> For the build-system-uneducated like me: why ?

Even if I think I know the answer, I agree with Jacopo, I think it
should be recorded in the commit message.

> > Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
> >
> > ---
> > New in v2
> > ---
> >  src/libcamera/meson.build | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
> > index 18ea3261..27182bfc 100644
> > --- a/src/libcamera/meson.build
> > +++ b/src/libcamera/meson.build
> > @@ -53,6 +53,7 @@ libcamera_sources = files([
> >  ])
> >
> >  libcamera_sources += libcamera_public_headers
> > +libcamera_sources += libcamera_internal_headers
> >
> >  includes = [
> >      libcamera_includes,
Paul Elder Sept. 24, 2020, 1:36 a.m. UTC | #3
On Wed, Sep 23, 2020 at 03:27:24PM +0300, Laurent Pinchart wrote:
> On Wed, Sep 23, 2020 at 12:44:41PM +0200, Jacopo Mondi wrote:
> > On Tue, Sep 22, 2020 at 10:35:04PM +0900, Paul Elder wrote:
> > > Add libcamera_internal_headers to libcamera_sources.
> > 
> > For the build-system-uneducated like me: why ?
> 
> Even if I think I know the answer, I agree with Jacopo, I think it
> should be recorded in the commit message.

I guess since I've added libcamera_generated_headers to all the meson
files for the generated code, we don't actually need this patch anymore.


Paul

> > > Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
> > >
> > > ---
> > > New in v2
> > > ---
> > >  src/libcamera/meson.build | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
> > > index 18ea3261..27182bfc 100644
> > > --- a/src/libcamera/meson.build
> > > +++ b/src/libcamera/meson.build
> > > @@ -53,6 +53,7 @@ libcamera_sources = files([
> > >  ])
> > >
> > >  libcamera_sources += libcamera_public_headers
> > > +libcamera_sources += libcamera_internal_headers
> > >
> > >  includes = [
> > >      libcamera_includes,

Patch

diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 18ea3261..27182bfc 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -53,6 +53,7 @@  libcamera_sources = files([
 ])
 
 libcamera_sources += libcamera_public_headers
+libcamera_sources += libcamera_internal_headers
 
 includes = [
     libcamera_includes,