summaryrefslogtreecommitdiffstats
path: root/scripts/configure-qtcreator.sh
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-09-15 09:58:16 +0300
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-09-15 13:34:28 +0300
commit7faffd0a1f4800c50547c1aefddeb5db006b267f (patch)
tree6a08a1941ba85a6c1e870a30a291bcf669cb6b09 /scripts/configure-qtcreator.sh
parentcf56c7b6c15597c0d04a33204ba25ec37c4667f3 (diff)
parentb54b20eb868b68379c792efab0baf8a15cd8a283 (diff)
downloadmeta-boot2qt-7faffd0a1f4800c50547c1aefddeb5db006b267f.tar.gz
Merge remote-tracking branch 'origin/dizzy' into dev
openssl/c_rehash patch updated to apply again. * origin/dizzy: Fix c_rehash run during image creation Include CDC-ACM kernel module Use mirror from github to clone git-repo tool Add libevent to toolchain and image Use correct path for mkspecs qt5: remove separate designer packages qt5: use 5.5-next branch for meta-qt5 qt5: patch qdevice.conf from correct location Change-Id: I6998da6dc050c17aa1cbf20d50bcf0d14fc4ee8e
Diffstat (limited to 'scripts/configure-qtcreator.sh')
-rwxr-xr-xscripts/configure-qtcreator.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/scripts/configure-qtcreator.sh b/scripts/configure-qtcreator.sh
index 4ffe64f..7661297 100755
--- a/scripts/configure-qtcreator.sh
+++ b/scripts/configure-qtcreator.sh
@@ -29,7 +29,7 @@ ABI="arm-linux-generic-elf-32bit"
29 29
30printUsage () 30printUsage ()
31{ 31{
32 echo "Usage: $0 <toolchain-environment-setup-file> [--remove]" 32 echo "Usage: $0 <toolchain-environment-setup-file> [--remove] [--sdktool <path>]"
33} 33}
34 34
35while test -n "$1"; do 35while test -n "$1"; do
@@ -37,17 +37,19 @@ while test -n "$1"; do
37 "--help" | "-h") 37 "--help" | "-h")
38 printUsage 38 printUsage
39 exit 0 39 exit 0
40 shift
41 ;; 40 ;;
42 "--remove") 41 "--remove")
43 REMOVEONLY=1 42 REMOVEONLY=1
43 ;;
44 "--sdktool")
44 shift 45 shift
46 SDKTOOL=$1
45 ;; 47 ;;
46 *) 48 *)
47 CONFIG=$1 49 CONFIG=$1
48 shift
49 ;; 50 ;;
50 esac 51 esac
52 shift
51done 53done
52 54
53if [ ! -f "$CONFIG" ]; then 55if [ ! -f "$CONFIG" ]; then
@@ -65,12 +67,13 @@ fi
65 67
66source $CONFIG 68source $CONFIG
67 69
68if [ ! -d "${OECORE_NATIVE_SYSROOT}/mkspecs/${MKSPEC}" ]; then 70MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC}))
69 echo Error: $CONFIG is invalid. 71if [ ! -d "${MKSPECPATH}" ]; then
72 echo "Error: could not find mkspec ${MKSPEC} from the toolchain"
70 exit 1 73 exit 1
71fi 74fi
72 75
73MACHINE=$(grep '^MACHINE' ${OECORE_NATIVE_SYSROOT}/mkspecs/qdevice.pri | cut -d'=' -f2 | tr -d ' ') 76MACHINE=$(grep '^MACHINE' ${MKSPECPATH}/../../qdevice.pri | cut -d'=' -f2 | tr -d ' ')
74 77
75RELEASE=$(qmake -query QT_VERSION) 78RELEASE=$(qmake -query QT_VERSION)
76 79