qmake_base.bbclass: Unexport STRIP from the environment
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 11 Jan 2010 12:56:15 +0000 (13:56 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 14 Jan 2010 17:36:18 +0000 (18:36 +0100)
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

index 50d8bb5..4fbe21f 100644 (file)
@@ -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 () {