diff options
-rw-r--r-- | README | 16 | ||||
-rwxr-xr-x | b2qt-init-build-env | 51 |
2 files changed, 33 insertions, 34 deletions
@@ -28,31 +28,31 @@ OpenEmbedded and Yocto. | |||
28 | 28 | ||
29 | This layer depends on: | 29 | This layer depends on: |
30 | 30 | ||
31 | URI: git://git.openembedded.org/openembedded-core | 31 | URI: git://git.yoctoproject.org/poky |
32 | branch: daisy | 32 | branch: daisy |
33 | revision: HEAD | 33 | revision: b0ce70ffa820c8b4069bdb413f7aa9db668b9428 |
34 | 34 | ||
35 | URI: git://git.openembedded.org/meta-openembedded | 35 | URI: git://git.openembedded.org/meta-openembedded |
36 | layer: meta-oe | 36 | layer: meta-oe |
37 | branch: daisy | 37 | branch: daisy |
38 | revision: HEAD | 38 | revision: a6dcf6265822ca1484d991d10a3042e04a960cdb |
39 | 39 | ||
40 | URI: git://git.yoctoproject.org/meta-ti | 40 | URI: git://git.yoctoproject.org/meta-ti |
41 | branch: daisy | 41 | branch: daisy |
42 | revision: HEAD | 42 | revision: 5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66 |
43 | 43 | ||
44 | URI: git://git.yoctoproject.org/meta-fsl-arm | 44 | URI: git://git.yoctoproject.org/meta-fsl-arm |
45 | branch: daisy | 45 | branch: daisy |
46 | revision: HEAD | 46 | revision: f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b |
47 | 47 | ||
48 | URI: git://github.com/Freescale/meta-fsl-arm-extra | 48 | URI: git://github.com/Freescale/meta-fsl-arm-extra |
49 | branch: daisy | 49 | branch: daisy |
50 | revision: HEAD | 50 | revision: 029f535cfbc5746288c6129babb2d7679927a183 |
51 | 51 | ||
52 | URI: git://git.yoctoproject.org/meta-raspberrypi | 52 | URI: git://git.yoctoproject.org/meta-raspberrypi |
53 | branch: daisy | 53 | branch: daisy |
54 | revision: HEAD | 54 | revision: cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55 |
55 | 55 | ||
56 | URI: git://git.toradex.com/meta-toradex.git | 56 | URI: git://git.toradex.com/meta-toradex.git |
57 | branch: V2.2 | 57 | branch: V2.2 |
58 | revision: HEAD | 58 | revision: 371ea626f29a2a12294ab6ea30e36743a9e2f78f |
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 882e7fa..bc747b8 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -33,33 +33,32 @@ mkdir -p ${1} | |||
33 | DIR=$(readlink -f $(dirname $0)) | 33 | DIR=$(readlink -f $(dirname $0)) |
34 | BUILDDIR=$(readlink -f $1) | 34 | BUILDDIR=$(readlink -f $1) |
35 | 35 | ||
36 | if [ ! -d ${BUILDDIR}/poky ]; then | 36 | checkout() { |
37 | git clone git://git.yoctoproject.org/poky ${BUILDDIR}/poky -b daisy | 37 | REPO=$1 |
38 | fi | 38 | REPODIR=${REPO##*/} |
39 | 39 | if [ ${REPODIR} != "poky" ]; then | |
40 | if [ ! -d ${BUILDDIR}/poky/meta-openembedded ]; then | 40 | REPODIR="poky/${REPODIR}" |
41 | git clone git://git.openembedded.org/meta-openembedded ${BUILDDIR}/poky/meta-openembedded -b daisy | 41 | fi |
42 | fi | 42 | REF=${2%%:*} |
43 | 43 | SHA1=${2##*:} | |
44 | if [ ! -d ${BUILDDIR}/poky/meta-ti ]; then | 44 | if [ ! -d ${BUILDDIR}/${REPODIR} ]; then |
45 | git clone git://git.yoctoproject.org/meta-ti ${BUILDDIR}/poky/meta-ti -b daisy | 45 | mkdir ${BUILDDIR}/${REPODIR} |
46 | fi | 46 | cd ${BUILDDIR}/${REPODIR} |
47 | 47 | git init | |
48 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm ]; then | 48 | git remote add origin ${REPO} -f |
49 | git clone git://git.yoctoproject.org/meta-fsl-arm ${BUILDDIR}/poky/meta-fsl-arm -b daisy | 49 | git checkout ${REF} |
50 | fi | 50 | git reset --hard ${SHA1} |
51 | 51 | cd - | |
52 | if [ ! -d ${BUILDDIR}/poky/meta-fsl-arm-extra ]; then | 52 | fi |
53 | git clone git://github.com/Freescale/meta-fsl-arm-extra.git ${BUILDDIR}/poky/meta-fsl-arm-extra -b daisy | 53 | } |
54 | fi | ||
55 | 54 | ||
56 | if [ ! -d ${BUILDDIR}/poky/meta-raspberrypi ]; then | 55 | checkout git://git.yoctoproject.org/poky "daisy:b0ce70ffa820c8b4069bdb413f7aa9db668b9428" |
57 | git clone git://git.yoctoproject.org/meta-raspberrypi ${BUILDDIR}/poky/meta-raspberrypi -b daisy | 56 | checkout git://git.openembedded.org/meta-openembedded "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb" |
58 | fi | 57 | checkout git://git.yoctoproject.org/meta-ti "daisy:5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66" |
59 | 58 | checkout git://git.yoctoproject.org/meta-fsl-arm "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b" | |
60 | if [ ! -d ${BUILDDIR}/poky/meta-toradex ]; then | 59 | checkout git://github.com/Freescale/meta-fsl-arm-extra "daisy:029f535cfbc5746288c6129babb2d7679927a183" |
61 | git clone git://git.toradex.com/meta-toradex.git ${BUILDDIR}/poky/meta-toradex -b V2.2 | 60 | checkout git://git.yoctoproject.org/meta-raspberrypi "daisy:cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55" |
62 | fi | 61 | checkout git://git.toradex.com/meta-toradex "V2.2:371ea626f29a2a12294ab6ea30e36743a9e2f78f" |
63 | 62 | ||
64 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then | 63 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then |
65 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt | 64 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt |