[oe] [PATCH v3] opencl-headers: Initial recipe for OpenCL headers
Burton, Ross
ross.burton at intel.com
Tue Oct 16 11:31:10 UTC 2018
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
Ross
More information about the Openembedded-devel
mailing list