]> git.sur5r.net Git - openocd/blob - testing/build.test2/README.txt
Added another test build configuration
[openocd] / testing / build.test2 / README.txt
1 \r
2 This makefile is how I Duane Ellis (openocd@duaneellis.com) builds\r
3 openocd test purposes on Cygwin. I have included it here so others\r
4 might also make use of the same configuration that I use to develop\r
5 Openocd.\r
6 \r
7 --Duane Ellis\r
8 \r
9 To make use of it do the following:\r
10 \r
11 (1)     Check out openocd in the standard way.\r
12 \r
13 For example - in cygwin, type this:\r
14 \r
15     bash$  mkdir -p /home/duane/test\r
16     bash$  cd /home/duane/test\r
17     bash$  svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd\r
18 \r
19 (2)     COPY this folder "right above" where you have OpenOCD.\r
20 \r
21     bash$  cd /home/duane/test\r
22     bash$  cp ./openocd/testing/build.test2/*   /home/duane/test/.\r
23 \r
24 (3) OPTIONALLY\r
25 \r
26     You might want to review the file "local.uses"\r
27     Change options and so forth at the top of the file.\r
28 \r
29 (4)     Initially, you need to download some additional files.\r
30         These include "libftdi", "libconfuse", and the ftd2xx drivers.\r
31 \r
32 (5)     You also need to build the supporting libraries and install them\r
33         (They are installed "locally" only)\r
34 \r
35         Type this command:\r
36 \r
37     bash$ cd /home/duane/test\r
38 \r
39     bash$ make initial.build\r
40 \r
41           which:  (1) downloads files\r
42                   (2) builds the libs\r
43                   (3) builds OpenOCD\r
44 \r
45 (6)     As you hack upon OpenOCD... to rebuild OpenOCD...\r
46         \r
47     bash$ cd /home/duane/test\r
48 \r
49     bash$ make remake\r
50 \r
51           which: (1) re-bootstraps \r
52                  (2) re-configures\r
53                  (3) re-builds\r
54                  (4) re-installs.\r
55    \r
56 =======\r
57 **END**\r
58 =======\r
59 \r