Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Stefan Sonski <s.sonski@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-qt5][PATCH 1/2] nativesdk-qtbase Enable objcopy for qmake
Date: Tue, 17 Oct 2017 21:56:48 +0200	[thread overview]
Message-ID: <20171017195649.8657-1-s.sonski@gmail.com> (raw)

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



             reply	other threads:[~2017-10-17 19:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17 19:56 Stefan Sonski [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171017195649.8657-1-s.sonski@gmail.com \
    --to=s.sonski@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox