summaryrefslogtreecommitdiff
path: root/recipes/qte/qte-functions.inc
blob: f0ffb0e61274479fd5745cb5f8102720c4151a07 (plain)
1
2
3
4
5
6
7
8
9
10
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