diff options
author | Philip Balister <philip@balister.org> | 2011-03-30 18:07:11 -0400 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-31 21:10:17 +0200 |
commit | c13a42e1c6cd0b469ca8c39140bfd80e0dbe3f72 (patch) | |
tree | 957420d86987c9363029bbdd903c15359be10e90 /recipes/qmake | |
parent | db4c323371ed961251cf991ddc9b01fe4d82d4e1 (diff) | |
download | openembedded-c13a42e1c6cd0b469ca8c39140bfd80e0dbe3f72.tar.gz |
qmake2: Define env var for strip. Convert to use INC_PR.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/qmake')
-rw-r--r-- | recipes/qmake/qmake2.inc | 2 | ||||
-rw-r--r-- | recipes/qmake/qmake2_2.10a.bb | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/recipes/qmake/qmake2.inc b/recipes/qmake/qmake2.inc index f2631b5f7e..97918426c7 100644 --- a/recipes/qmake/qmake2.inc +++ b/recipes/qmake/qmake2.inc @@ -3,7 +3,7 @@ PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" SECTION = "devel" LICENSE = "GPL" -PR = "r12" +INC_PR = "r12" # We call 'moc' during the build DEPENDS = "qt4-tools-native" diff --git a/recipes/qmake/qmake2_2.10a.bb b/recipes/qmake/qmake2_2.10a.bb index 77d909f8eb..d8bb528fa4 100644 --- a/recipes/qmake/qmake2_2.10a.bb +++ b/recipes/qmake/qmake2_2.10a.bb @@ -1,5 +1,6 @@ QTVERSION="4.4.3" FILESDIR += "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qmake2" +PR = "${INC_PR}.1" BBCLASSEXTEND = "native sdk" @@ -22,6 +23,7 @@ do_install() { echo 'export OE_QMAKE_CC=gcc' >> $script echo 'export OE_QMAKE_CXX=g++' >> $script echo 'export OE_QMAKE_LINK=g++' >> $script + echo 'export OE_QMAKE_STRIP=strip' >> $script echo 'export OE_QMAKE_LIBDIR_QT=${libdir}' >> $script echo 'export OE_QMAKE_INCDIR_QT=${includedir}/qtopia' >> $script echo 'export OE_QMAKE_MOC=${bindir}/moc' >> $script @@ -39,6 +41,7 @@ do_install() { echo 'export OE_QMAKE_CC=gcc' >> $script echo 'export OE_QMAKE_CXX=g++' >> $script echo 'export OE_QMAKE_LINK=g++' >> $script + echo 'export OE_QMAKE_STRIP=strip' >> $script echo 'export OE_QMAKE_LIBDIR_QT=${libdir}' >> $script echo 'export OE_QMAKE_INCDIR_QT=${includedir}/qt4' >> $script echo 'export OE_QMAKE_MOC=${bindir}/moc' >> $script |