All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake
@ 2017-10-17 19:56 Stefan Sonski
  2017-10-17 19:56 ` [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY Stefan Sonski
  0 siblings, 1 reply; 15+ messages in thread
From: Stefan Sonski @ 2017-10-17 19:56 UTC (permalink / raw)
  To: openembedded-devel

Enable objcopy for qmake to support separate_debug_info flag for cross-compiled
applications in nativesdk-qtbase.

Signed-off-by: Stefan Sonski <s.sonski@gmail.com>
---
 recipes-qt/qt5/nativesdk-qtbase_git.bb                   | 1 +
 recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 1 +
 2 files changed, 2 insertions(+)

diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 87bd501..a650550 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -179,6 +179,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_OBJCOPY=$OBJCOPY' >> $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
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index a8fe433..3d1958f 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -94,6 +94,7 @@ index 0000000000..c1837e6d55
 +
 +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip
 +QMAKE_AR              = $$(OE_QMAKE_AR) cqs
++QMAKE_OBJCOPY         = $$(OE_QMAKE_OBJCOPY)
 +QMAKE_STRIP           = $$(OE_QMAKE_STRIP)
 +QMAKE_WAYLAND_SCANNER = $$(OE_QMAKE_WAYLAND_SCANNER)
 +
-- 
2.14.2



^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-11-01 19:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-17 19:56 [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake Stefan Sonski
2017-10-17 19:56 ` [meta-qt5][PATCH 2/2] qmake5_base: add OE_QMAKE_OBJCOPY from OBJCOPY Stefan Sonski
2017-10-20 22:54   ` Martin Jansa
2017-10-24 13:33     ` Daniel Mack
2017-10-26 12:55       ` Denys Dmytriyenko
2017-10-26 13:00         ` Stefan Sonski
2017-10-26 13:07         ` Daniel Mack
2017-10-26 13:29           ` Stefan Sonski
2017-10-26 13:36           ` Denys Dmytriyenko
2017-10-26 13:47             ` Stefan Sonski
2017-10-26 13:49               ` Denys Dmytriyenko
2017-10-27  5:53             ` Daniel Mack
2017-10-27 19:05               ` Martin Jansa
2017-11-01 18:57                 ` Denys Dmytriyenko
2017-11-01 19:52                   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.