mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-03 20:54:37 +02:00
Fix missing OE_QMAKE_STRIP env variable
Using Qt based SDK for stripping ARM binaries results in errors. Generated Makefile contains: STRIP = \$(OE_QMAKE_STRIP) but due to the missing export of OE_QMAKE_STRIP variable STRIP will be unset and no strip will be perfomed: install -m 755 -p lib/libSigUdev.so.1.0.0 /opt/poky/2.2.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libSigUdev.so.1.0.0 strip-unneeded /opt/poky/2.2.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libSigUdev.so.1.0.0 make: strip-unneeded: Command not found Makefile:576: recipe for target 'install_target' failed make: [install_target] Error 127 (ignored) adding OE_QMAKE_STRIP=$STRIP to generated qt5.sh solve the issue. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
5ae76bbcf5
commit
1421787254
@@ -183,6 +183,7 @@ fakeroot do_generate_qt_environment_file() {
|
||||
echo 'export OE_QMAKE_CXX=$CXX' >> $script
|
||||
echo 'export OE_QMAKE_LINK=$CXX' >> $script
|
||||
echo 'export OE_QMAKE_AR=$AR' >> $script
|
||||
echo 'export OE_QMAKE_STRIP=$STRIP' >> $script
|
||||
echo 'export QT_CONF_PATH=${OE_QMAKE_PATH_HOST_BINS}/qt.conf' >> $script
|
||||
echo 'export OE_QMAKE_LIBDIR_QT=`qmake -query QT_INSTALL_LIBS`' >> $script
|
||||
echo 'export OE_QMAKE_INCDIR_QT=`qmake -query QT_INSTALL_HEADERS`' >> $script
|
||||
|
||||
Reference in New Issue
Block a user