[meta-freescale] [meta-fsl-arm][PATCH ] asf : add recipes for Layerscape1 support

Otavio Salvador otavio at ossystems.com.br
Fri Dec 26 06:07:33 PST 2014


On Fri, Dec 26, 2014 at 1:32 AM, B40290 at freescale.com
<B40290 at freescale.com> wrote:
> Hello Otavio,
>
> Thank you for your comments.
> But I remained confused about the below issue.
>
> (http://patches.openembedded.org/patch/85449/)
>
>> +do_install(){
>> +       mkdir -p ${D}/usr/driver/asf
>> +       cp -rf ${S}/bin/full ${D}/usr/driver/asf
>> +       cp -rf ${S}/bin/min  ${D}/usr/driver/asf
>> +       cp -rf ${S}/../scripts ${D}/usr/driver/asf/.
>> +}
>> +
>> +FILES_${PN} += "/usr/driver/asf"
>
> We you are using /usr/driver? FHS-like would be ${localexecdir}/bin
> and ${localexecdir}/scripts.

Instead od installing it at /usr/driver, it'd install it under
/usr/lib/asf/ so it respects FHS guidelines.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list