On Apr 17, 2013, at 10:30 PM, Michael Fainstein <michael.fainst...@ecitele.com> 
wrote:

> IMHO program strip should be removed from meta/site/common-linux.
> 
> I had a problem in my recipe: 'make install' was failing due to 
> /usr/bin/strip failure to recognize file format (I am building for powerpc on 
> x86_64 PC). I traced this error back to ./configure that was selecting 
> /usr/bin/strip instead of powerpc-fsl-linux-gnuspe-strip. After some more 
> digging I found that configure selects strip due to line 
> db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
> in meta/site/common-linux.
> I solved it by setting CONFIG_SITE="" in my recipe.
> IMHO common-linux should contain only architecture-independent definitions. 
> strip is architecture-dependent (e.g. x86 strip can't handle powerpc files), 
> so it shouldn't be defined in meta/site/common-linux.


I would encourage you to write a patch and send it over.

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to