diff options
Diffstat (limited to 'packages/qtopia-phone/qtopia-phone_arch.inc')
-rw-r--r-- | packages/qtopia-phone/qtopia-phone_arch.inc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/packages/qtopia-phone/qtopia-phone_arch.inc b/packages/qtopia-phone/qtopia-phone_arch.inc deleted file mode 100644 index 84f0e51d01..0000000000 --- a/packages/qtopia-phone/qtopia-phone_arch.inc +++ /dev/null @@ -1,23 +0,0 @@ -inherit siteinfo - -def qtopia_arch(d): - import bb, re - arch = bb.data.getVar('TARGET_ARCH', d, 1) - if re.match("^i.86$", arch): - arch = "i386" - elif re.match("^arm.*", arch): - arch = "arm" - elif arch == "x86_64": - arch = "x86" - elif arch == "mipsel": - arch = "mips" - return arch - -def qtopia_endian(d): - import bb - if bb.data.getVar('SITEINFO_ENDIANESS', d, True) == "le": - return "-little-endian" - elif bb.data.getVar('SITEINFO_ENDIANESS', d, True) == "be": - return "-big-endian" - else: - assert False |