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.

Michael


This e-mail message is intended for the recipient only and contains information 
which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have 
received this transmission in error, please inform us by e-mail, phone or fax, 
and then delete the original and all copies thereof.

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

Reply via email to