summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer/adt-installer_1.0.bb
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-08-17 13:38:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-17 13:06:42 +0100
commit3ba29d41e6e00cc6bedfcb2d5157db54b6bcfda0 (patch)
treee2102ddc9147c5a13b6c14c3b7007251297e0f15 /meta/recipes-devtools/installer/adt-installer_1.0.bb
parent21049ec9644510a81aba748ad81fb6a73a711f21 (diff)
downloadpoky-3ba29d41e6e00cc6bedfcb2d5157db54b6bcfda0.tar.gz
adt-installer: add support for relocatable SDK
Since we made the SDK relocatable, we have to add this functionality to adt-installer too. (From OE-Core rev: 0fa784c261050c632b7237ba3d43a148ab71b0ca) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/installer/adt-installer_1.0.bb')
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index e1edf2f97f..becdef6274 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -30,7 +30,7 @@ ALLOW_EMPTY = "1"
30 30
31PACKAGES = "" 31PACKAGES = ""
32 32
33PR = "r9" 33PR = "r10"
34 34
35ADT_DEPLOY = "${TMPDIR}/deploy/sdk/" 35ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
36ADT_DIR = "${WORKDIR}/adt-installer/" 36ADT_DIR = "${WORKDIR}/adt-installer/"
@@ -69,8 +69,9 @@ 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 echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define 72 echo 'SDK_VENDOR=${SDK_VENDOR}' >> ${ADT_DIR}/scripts/data_define
73 echo 'INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define 73 echo 'DEFAULT_INSTALL_FOLDER=${SDKPATH}' >> ${ADT_DIR}/scripts/data_define
74 cp ${COREBASE}/scripts/relocate_sdk.py ${ADT_DIR}/scripts/
74 tar cfj adt_installer.tar.bz2 adt-installer 75 tar cfj adt_installer.tar.bz2 adt-installer
75 cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY} 76 cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY}
76} 77}