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

Ankit Navik ankit.tarot at gmail.com
Tue Oct 16 12:37:22 UTC 2018


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.

Thanks, Ankit
>
> Ross



More information about the Openembedded-devel mailing list