summaryrefslogtreecommitdiffstats
path: root/scripts/readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/readme.txt')
-rw-r--r--scripts/readme.txt71
1 files changed, 71 insertions, 0 deletions
diff --git a/scripts/readme.txt b/scripts/readme.txt
new file mode 100644
index 0000000..ba55b64
--- /dev/null
+++ b/scripts/readme.txt
@@ -0,0 +1,71 @@
1Note: PART I and PART II can be skipped if you have already done that.
2
3Part I: Base environment setup
4I-1. install JDK
5 sudo zypper install java-1_6_0-openjdk
6
7I-2. install X11 related packages for eclipse running
8 sudo zypper install xorg-x11-xauth
9
10I-3. using git through a SOCKS proxy(If you're behind some firewall)
11I-3.1 Create a wrapper script for netcat
12 cat > ~/bin/proxy-wrapper
13
14 #!/bin/sh
15 PROXY=proxy-jf.intel.com
16 PORT=1080
17 METHOD="-X 5 -x ${PROXY}:${PORT}"
18
19 nc $METHOD $*
20
21 Then Ctlr+D to save the file and "chmod +x ~/bin/proxy-wrapper"
22
23 Note: if netcat is not installed, please "sudo zypper install netcat-openbsd".
24
25I-3.2 set git proxy environment
26 add the following line to your ~/.bashrc and "source ~/.bashrc"
27
28 export GIT_PROXY_COMMAND="/somepath/bin/proxy-wrapper"
29
30 Please be noted that it should be absolute path, since "~" is not supported.
31
32I-4. using svn through a http_proxy(If you're behind some firewall)
33 Modify the ~/.subversion/servers
34
35 http-proxy-host = proxy.jf.intel.com
36 http-proxy-port = 911
37
38I-5. Get the scripts from eclipse-poky git
39 git clone git://git.pokylinux.org/eclipse-poky.git
40
41 The scripts used for auto builder is under the directory of "scripts".
42
43
44Part II: Setup the build environment
45II-1. Modify the scripts/setup.sh to set appropriate proxy settings.
46 Set PROXY to a http proxy URL and PORT to the port number. Comment out
47 these 2 variables if proxy is not required.
48
49II-2. Run scripts/setup.sh to set up the build environment.
50 This will install the eclipse and relevant plugins required to build
51 Yocto eclipse plug-in.
52
53Part III: Build & Install Yocto Eclipse plug-in
54
55To build the Yocto Eclipse plug-in, simply run
56"ECLIPSE_HOME=<eclipse path> scripts/build.sh <branch name> <release name>".
57
58The <eclipse install path> is the absolute path where you installed the
59eclipse in step II-2.
60
61The <branch name> is the git branch name you build based on.
62
63If successful, 2 files org.yocto.sdk-<release name>-<date>.zip and
64org.yocto.sdk.-<release name>-<date>-archive.zip will be genereated under the
65directory where you invoked the "build.sh" script.
66
67The file with the "-archive" in its name is the archive zip used for eclipse
68update manager. User should use eclipse update manager to install it.
69
70The file without the "-archive" in its name is the zip containing only the
71plugins/features. User should unzip it to the their target eclipse to install it.