package.bbclass: implement a failsafe strip in classes
authorJohn Bowler <jbowler@nslu2-linux.org>
Tue, 31 Jan 2006 17:36:37 +0000 (17:36 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 31 Jan 2006 17:36:37 +0000 (17:36 +0000)
commitd4c62f2653b3c21c361dc3cf7ec748048e9cad16
treeee724dac9af95a5181bff46deafaabe94ef5be0f
parent0181fca36610a03b991be5985aa53f794e9ce323
package.bbclass: implement a failsafe strip in classes
 - package.bbclass now uses file-native and cross strip to reliably strip
   unstripped executables and check the return code.  For the moment a
   failure here doesn't cause the build to fail but does output a failure
   message direct to the controlling terminal (this is temporary).  This
   behaviour can be changed by forcing IGNORE_STRIP_ERRORS = ""
   The change works by using a new runstrip shell function for every
   potentially strippable file.  Since this calls native 'file' there is
   a dependency on all inheritors of package.bbclass for file-native and
   since this would break native builds (because of the cycle in
   file-native and it's own native depends) native.bbclass cancels this
   dependency (system file should be fine for native packages and, anyway
   native currently doesn't package.)
classes/native.bbclass
classes/package.bbclass