[oe-commits] Holger Hans Peter Freyther : qmake_base.bbclass: Unexport STRIP from the environment

git version control git at git.openembedded.org
Thu Jan 14 17:38:29 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 08fe78fa32569155d6ca8f1023a419911d7202ca
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=08fe78fa32569155d6ca8f1023a419911d7202ca

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Mon Jan 11 13:56:15 2010 +0100

qmake_base.bbclass: Unexport STRIP from the environment

The Makefile's generated by Qt are using this variable and the
assignment of STRIP = $(OE_QMAKE_STRIP) will be overturned by
this export. One option would be to set STRIP = $OE_QMAKE_STRIP
in the bb file but this would break striping in package.bbclass.

With the unset STRIP we are able to generate proper -dbg packages
for Qt and other qmake based utilities.

---

 classes/qmake_base.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/classes/qmake_base.bbclass b/classes/qmake_base.bbclass
index 50d8bb5..4fbe21f 100644
--- a/classes/qmake_base.bbclass
+++ b/classes/qmake_base.bbclass
@@ -13,6 +13,9 @@ export OE_QMAKE_AR="${AR}"
 export OE_QMAKE_STRIP="echo"
 export OE_QMAKE_RPATH="-Wl,-rpath-link,"
 
+# do not export STRIP to the environment
+STRIP[unexport] = "1"
+
 # default to qte2 via bb.conf, inherit qt3x11 to configure for qt3x11
 
 oe_qmake_mkspecs () {





More information about the Openembedded-commits mailing list