dissaprove autotools.bbclass change
Graeme Gregory
graeme at openmoko.org
Wed Mar 26 10:28:44 CET 2008
The revision below was revert as it breaks image builds, it makes
a bogus libssp.* get staged in cross directory.
Rule for org.openmoko.dev is image build stability is most important.
Graeme
818130df3e6495b76ab180321b36ccfd784ba50b
classes/autotools.bblcass: Fix staging of nested .la/.so files (e.g.
evas modules) A recent change to autotools.bbclass started to search
for all .la files in the libdir and started to find libraries in
subdirectories of ${libdir}. The path to these sub modules were wrong
as we instructed oe_libinstall go to ${S} instead of the dir. This had
a rather funny bug for evas. All module directories were populated by
the same module.so.
E.g. in the log below the buffer engine gets copied into the
savers/jpeg directory
oe_libinstall:
cd /media/Linux/openmoko/build/tmp/work/i686-linux/evas-native-1_0.9.9.042+cvs20080322-r0/evas/src/modules/engines/buffer/.libs
oe_libinstall: install
-d /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/
oe_libinstall: install -m 0644
module.a /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/
oe_libinstall: rm
-f /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/module.la
oe_libinstall: sed -e s/^installed=yes$/installed=no/
-e /^dependency_libs=/s,/media/Linux/openmoko/build/tmp/work/i686-linux/evas-native-1_0.9.9.042+cvs20080322-r0
[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/\1,g
-e /^dependency_libs=/s,
\([[:space:]']+\)/media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib,\1/media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib,g
module.lai oe_libinstall: install -m 0755
module.so /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/
oe_libinstall: install -m 0755
module.so /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/
oe_libinstall: install -m 0755
module.so /media/Linux/openmoko/build/tmp/staging/i686-linux/usr/lib/./evas/modules/savers/jpeg/linux-gnu-i686/
More information about the distro-devel
mailing list