From 560606c3ecc88ec54a1888e748fe09c1d0f76d9d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 24 Oct 2013 09:51:38 -0700 Subject: adt-manual: Removed tarball method from "Getting the ADT Installer Tarball" Fixes [YOCTO #5368] Partial fix to this issue. This section demonstrated how to build the ADT Installer tarball using BitBake by downloading the poky release tarball. I updated the section to use the method where you use Git to clone the poky repo and then check out the current release as a branch. I also re-organized the section to read better. (From yocto-docs rev: 8c1a5e9fd114fd181b15de3b117d56fbb5779e1f) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/adt-manual/adt-prepare.xml | 70 ++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 30 deletions(-) (limited to 'documentation/adt-manual') diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 9c016bf32c..e0973c4e11 100644 --- a/documentation/adt-manual/adt-prepare.xml +++ b/documentation/adt-manual/adt-prepare.xml @@ -80,38 +80,48 @@ The ADT Installer is contained in the ADT Installer tarball. - You can download the tarball from - into any - directory. - Or, you can use BitBake to generate the tarball inside the existing - Build Directory. - - - - If you use BitBake to generate the ADT Installer tarball, you must - source the environment setup script - (&OE_INIT_FILE; - or - oe-init-build-env-memres) - located in the Source Directory before running the - BitBake command that creates the tarball. - - - - The following example commands download the Poky tarball, set up the - Source Directory, - set up the environment while also creating the default Build Directory, - and run the BitBake command that results in the tarball - ~/yocto-project/build/tmp/deploy/sdk/adt_installer.tar.bz2: - + You can get the tarball using either of these methods: + + Download the Tarball: + You can download the tarball from + into + any directory. + Build the Tarball: + You can use BitBake to generate the tarball inside an + existing + Build Directory. + + If you use BitBake to generate the ADT Installer + tarball, you must source the + environment setup script + (&OE_INIT_FILE; + or + oe-init-build-env-memres) + located in the Source Directory before running the + BitBake command that creates the tarball. + The following example commands establish + the + Source Directory, + check out the current release branch, set up the + build environment while also creating the default + Build Directory, and run the BitBake command that + results in the tarball + ~/yocto-project/build/tmp/deploy/sdk/adt_installer.tar.bz2: + + Before using BitBake to build the ADT tarball, be + sure to make sure your + local.conf file is properly + configured. + + $ cd ~ - $ mkdir yocto-project - $ cd yocto-project - $ wget &YOCTO_RELEASE_DL_URL;/&YOCTO_POKY_TARBALL; - $ tar xjf &YOCTO_POKY_TARBALL; - $ source &OE_INIT_PATH; + $ git clone git://git.yoctoproject.org/poky + $ cd poky + $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME; + $ source &OE_INIT_FILE; $ bitbake adt-installer - + + -- cgit v1.2.3-54-g00ecf