summaryrefslogtreecommitdiff
path: root/packages/qt/qt4_arch.inc
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-06-04 22:13:17 +0000
committerMichael Krelin <hacker@klever.net>2007-06-04 22:13:17 +0000
commit89ccdc8961e9239340d0c9241ec89095729670e6 (patch)
treeb7e7ca603f51a5ee6200cc9109aa492c7faf9460 /packages/qt/qt4_arch.inc
parent4caa2eb3179c851afad2568918457e07ccbabdea (diff)
qt 4.3.0: assorted fixes:
- elminated qt_arch duplication - patched freetype and openssl detection code - enabled precompiled headers - disabled glib - removed uic/moc/rcc for build arch - packaged .so symlinks to proper -dev packages I think that's it.
Diffstat (limited to 'packages/qt/qt4_arch.inc')
-rw-r--r--packages/qt/qt4_arch.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/qt/qt4_arch.inc b/packages/qt/qt4_arch.inc
new file mode 100644
index 0000000000..11bfed8a1c
--- /dev/null
+++ b/packages/qt/qt4_arch.inc
@@ -0,0 +1,13 @@
+def qt_arch(d):
+ import bb, re
+ arch = bb.data.getVar('TARGET_ARCH', d, 1)
+ if re.match("^i.86$", arch):
+ arch = "x86"
+ elif re.match("^arm.*", arch):
+ arch = "arm"
+ elif arch == "x86_64":
+ arch = "x86"
+ elif arch == "mipsel":
+ arch = "mips"
+ return arch
+