summaryrefslogtreecommitdiff
path: root/recipes/qte/qte-functions.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qte/qte-functions.inc')
-rw-r--r--recipes/qte/qte-functions.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/qte/qte-functions.inc b/recipes/qte/qte-functions.inc
new file mode 100644
index 0000000000..f0ffb0e612
--- /dev/null
+++ b/recipes/qte/qte-functions.inc
@@ -0,0 +1,11 @@
+def qte_arch(d):
+ import bb, re
+ arch = bb.data.getVar('TARGET_ARCH', d, 1)
+ if re.match("^i.86$", arch):
+ arch = "x86"
+ elif arch == "x86_64":
+ arch = "x86"
+ elif arch == "mipsel":
+ arch = "mips"
+ return arch
+