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

B40290 at freescale.com B40290 at freescale.com
Sun Dec 28 18:38:19 PST 2014


Hello  Malik Sandeep,

Do you have any idea about the below  issue ?


Thanks
Chunrong


-----Original Message-----
From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On Behalf Of Otavio Salvador
Sent: Friday, December 26, 2014 10:08 PM
To: Guo Chunrong-B40290
Cc: meta-freescale at yoctoproject.org; Liu Ting-B28495; Luo Zhenhua-B19537; Makhariya Alok-B46187; Agarwal Nikhil-B38457; Malik Sandeep-B02416
Subject: Re: [meta-fsl-arm][PATCH ] asf : add recipes for Layerscape1 support

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