blob: e94c2847b7bf82a420eb3896a5a0105314215c93 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001inherit siteinfo
2
3ARM_INSTRUCTION_SET = "arm"
4
5set_arch() {
6 case ${TARGET_ARCH} in
7 aarch64*) QT_ARCH=aarch64 ;;
8 arm*) QT_ARCH=arm ;;
9 i*86*) QT_ARCH=i386 ;;
10 mips*) QT_ARCH=mips ;;
11 powerpc*) QT_ARCH=powerpc ;;
12 x86_64*) QT_ARCH=x86_64 ;;
13 esac
14}
15
16set_endian() {
17 if [ ${SITEINFO_ENDIANNESS} = "le" ] ; then
18 QT_ENDIAN="-little-endian"
19 elif [ ${SITEINFO_ENDIANNESS} = "be" ] ; then
20 QT_ENDIAN="-big-endian"
21 fi
22}