[oe] [PATCH v3] opencl-headers: Initial recipe for OpenCL headers

Khem Raj raj.khem at gmail.com
Tue Oct 16 13:46:41 UTC 2018


On Tue, Oct 16, 2018 at 5:37 AM Ankit Navik <ankit.tarot at gmail.com> wrote:
>
> Hi Ross
> On Tue, Oct 16, 2018 at 5:01 PM Burton, Ross <ross.burton at intel.com> wrote:
> >
> > On Tue, 16 Oct 2018 at 05:43, Ankit Navik <ankit.tarot at gmail.com> wrote:
> >
> > > +do_install () {
> > > +       install -d ${D}${includedir}/CL/
> > > +       install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h
> > > +}
> >
> > -D to install is 'create directories' which you've already done in the
> > previous line, so that can be removed.
> >
> > If you're removing -D then a more idiomatic form would be:
> >
> > +       install -d ${D}${includedir}/CL/
> > +       install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
> Opps, missed -D.
> Cool. I will use your suggestion.

you just need single line there in do_install

 install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h


>
> Thanks, Ankit
> >
> > Ross
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list