From 24af2693697ac38070f9702a9e6c4527989379ba Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 13 Nov 2012 13:57:04 -0600 Subject: documentation: adt-manual - Adds opkg configuration note Fixes [YOCTO #2645] For 1.3.1 the ADT Installer script is based on ipkg stuff according to Jessica. There is a couple of directories created inside the adt-installer directory when you run the script. One of the directories (opkg) has a configuration file in it that might need to be edited depending on where the user is going for YOCTOADT_REPO. If they are using their own repo then need to edit the file. I have added instruction for this scenario. (From yocto-docs rev: 33a3e07947f2ae8cf124c19b5d3111b36aea09e4) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/adt-manual/adt-prepare.xml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 3fd231c6a0..13f4a19328 100644 --- a/documentation/adt-manual/adt-prepare.xml +++ b/documentation/adt-manual/adt-prepare.xml @@ -128,13 +128,16 @@ $ cp ~/poky/build/tmp/deploy/sdk/adt_installer.tar.bz2 $HOME $ tar -xjf adt_installer.tar.bz2 - Unpacking it creates the directory adt-installer, - which contains the ADT Installer script (adt_installer) - and its configuration file (adt_installer.conf). + Unpacking the tarball creates the directory adt-installer, + which contains the ADT Installer script (adt_installer), + its configuration file (adt_installer.conf), a + scripts directory, and an opkg + directory. - Before you run the script, however, you should examine the ADT Installer configuration + Before you run the ADT Installer script, however, you should examine + the ADT Installer configuration file and be sure you are going to get what you want. Your configurations determine which kernel and filesystem image are downloaded. @@ -152,7 +155,22 @@ YOCTOADT_REPO, you need to be sure that the directory structure follows the same layout as the reference directory set up at . - Also, your repository needs to be accessible through HTTP. + Also, your repository needs to be accessible through HTTP. + Additionally, you will need to edit a second configuration file + located in the adt-installer/opkg directory. + The configuration file you edit depends on your host development + system. + For 64-bit systems, edit the opkg-sdk-x86_64.conf + file. + If your host development system is 32-bit, edit the + opkg-sdk-i686.conf file. + For both cases, you need to make sure you are pointing to + the IPKG-based packages specified by the + YOCTOADT_REPO. + Here is an example for a 64-bit development system: + + src yp-x86_64-nativesdk http://my_repo/yp-1.3.1/adt-ipk/x86_64-nativesdk + YOCTOADT_TARGETS: The machine target architectures for which you want to set up cross-development environments. -- cgit v1.2.3-54-g00ecf