summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/installer/adt-installer/adt_installer.conf2
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb9
2 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
index afc69a4e7c..171d2acc45 100644
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
@@ -23,7 +23,7 @@
23 23
24# Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on 24# Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on
25 25
26YOCTOADT_REPO="http://adtrepo.yoctoproject.org/YOCTOADT_VERSION" 26YOCTOADT_REPO="ADTREPO"
27 27
28# The following are for system wide setup 28# The following are for system wide setup
29# Target architectures that you want to setup host cross dev environment for 29# Target architectures that you want to setup host cross dev environment for
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index becdef6274..3624dbc5d4 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -1,6 +1,6 @@
1# Yocto ADT Installer bb file 1# Yocto ADT Installer bb file
2# 2#
3# Copyright 2010-2011 by Intel Corp. 3# Copyright 2010-2012 by Intel Corp.
4# 4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy 5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal 6# of this software and associated documentation files (the "Software"), to deal
@@ -30,7 +30,7 @@ ALLOW_EMPTY = "1"
30 30
31PACKAGES = "" 31PACKAGES = ""
32 32
33PR = "r10" 33PR = "r11"
34 34
35ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" 35ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
36ADT_DIR = "${WORKDIR}/adt-installer/" 36ADT_DIR = "${WORKDIR}/adt-installer/"
@@ -51,14 +51,14 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \
51 file://opkg/conf/opkg-sdk-i686.conf \ 51 file://opkg/conf/opkg-sdk-i686.conf \
52 " 52 "
53 53
54ADTREPO = "http://adtrepo.yoctoproject.org/${SDK_VERSION}" 54ADTREPO ?= "http://adtrepo.yoctoproject.org/${SDK_VERSION}"
55 55
56do_populate_adt[umask] = "022" 56do_populate_adt[umask] = "022"
57 57
58fakeroot do_populate_adt () { 58fakeroot do_populate_adt () {
59 cd ${WORKDIR} 59 cd ${WORKDIR}
60 mkdir -p ${ADT_DEPLOY} 60 mkdir -p ${ADT_DEPLOY}
61 rm -f ${ADT_DEPLOY}/adt-installer.tar.bz2 61 rm -f ${ADT_DEPLOY}/adt_installer.tar.bz2
62 rm -rf ${ADT_DIR} 62 rm -rf ${ADT_DIR}
63 mkdir -p ${ADT_DIR}/opkg/build 63 mkdir -p ${ADT_DIR}/opkg/build
64 cp -r opkg ${ADT_DIR}/ 64 cp -r opkg ${ADT_DIR}/
@@ -69,6 +69,7 @@ fakeroot do_populate_adt () {
69 cp adt_installer ${ADT_DIR} 69 cp adt_installer ${ADT_DIR}
70 cp adt_installer.conf ${ADT_DIR} 70 cp adt_installer.conf ${ADT_DIR}
71 sed -i -e 's#YOCTOADT_VERSION#${SDK_VERSION}#' ${ADT_DIR}/adt_installer.conf 71 sed -i -e 's#YOCTOADT_VERSION#${SDK_VERSION}#' ${ADT_DIR}/adt_installer.conf
72 sed -i -e 's#ADTREPO#${ADTREPO}#' ${ADT_DIR}/adt_installer.conf
72 echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define 73 echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define
73 echo 'DEFAULT_INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define 74 echo 'DEFAULT_INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define
74 cp ${COREBASE}/scripts/relocate_sdk.py ${ADT_DIR}/scripts/ 75 cp ${COREBASE}/scripts/relocate_sdk.py ${ADT_DIR}/scripts/