- fix missing/incorrect svn file props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1292 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
38e51eb4fb
commit
185870615c
|
@ -1,39 +1,39 @@
|
||||||
-- Duane Ellis'es test case for building numerous openocd configurations...
|
-- Duane Ellis'es test case for building numerous openocd configurations...
|
||||||
Dec 26,2008
|
Dec 26,2008
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
1) Make a directory some where..
|
1) Make a directory some where..
|
||||||
|
|
||||||
mkdir ~/test
|
mkdir ~/test
|
||||||
|
|
||||||
2) Change to that directory
|
2) Change to that directory
|
||||||
|
|
||||||
cd ~/test
|
cd ~/test
|
||||||
|
|
||||||
3) Checkout OpenOCD in that directory.
|
3) Checkout OpenOCD in that directory.
|
||||||
|
|
||||||
cd ~/test
|
cd ~/test
|
||||||
svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd
|
svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd
|
||||||
|
|
||||||
4) Copy the "build.test1" directory to the "~/work" directory.
|
4) Copy the "build.test1" directory to the "~/work" directory.
|
||||||
|
|
||||||
|
|
||||||
cd ~/test
|
cd ~/test
|
||||||
cp ~/openocd/testing/build.test1/. ~/test/.
|
cp ~/openocd/testing/build.test1/. ~/test/.
|
||||||
|
|
||||||
5) If needed, download various components.
|
5) If needed, download various components.
|
||||||
|
|
||||||
cd ~/work
|
cd ~/work
|
||||||
make all.download
|
make all.download
|
||||||
|
|
||||||
|
|
||||||
6) For Linux - type:
|
6) For Linux - type:
|
||||||
|
|
||||||
cd ~/work
|
cd ~/work
|
||||||
make linux.buildtest
|
make linux.buildtest
|
||||||
|
|
||||||
7) For Cygwin - type:
|
7) For Cygwin - type:
|
||||||
|
|
||||||
cd ~/work
|
cd ~/work
|
||||||
make cygwin.buildtest
|
make cygwin.buildtest
|
||||||
|
|
||||||
|
|
|
@ -1,59 +1,59 @@
|
||||||
|
|
||||||
This makefile is how I Duane Ellis (openocd@duaneellis.com) builds
|
This makefile is how I Duane Ellis (openocd@duaneellis.com) builds
|
||||||
openocd test purposes on Cygwin. I have included it here so others
|
openocd test purposes on Cygwin. I have included it here so others
|
||||||
might also make use of the same configuration that I use to develop
|
might also make use of the same configuration that I use to develop
|
||||||
Openocd.
|
Openocd.
|
||||||
|
|
||||||
--Duane Ellis
|
--Duane Ellis
|
||||||
|
|
||||||
To make use of it do the following:
|
To make use of it do the following:
|
||||||
|
|
||||||
(1) Check out openocd in the standard way.
|
(1) Check out openocd in the standard way.
|
||||||
|
|
||||||
For example - in cygwin, type this:
|
For example - in cygwin, type this:
|
||||||
|
|
||||||
bash$ mkdir -p /home/duane/test
|
bash$ mkdir -p /home/duane/test
|
||||||
bash$ cd /home/duane/test
|
bash$ cd /home/duane/test
|
||||||
bash$ svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd
|
bash$ svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd
|
||||||
|
|
||||||
(2) COPY this folder "right above" where you have OpenOCD.
|
(2) COPY this folder "right above" where you have OpenOCD.
|
||||||
|
|
||||||
bash$ cd /home/duane/test
|
bash$ cd /home/duane/test
|
||||||
bash$ cp ./openocd/testing/build.test2/* /home/duane/test/.
|
bash$ cp ./openocd/testing/build.test2/* /home/duane/test/.
|
||||||
|
|
||||||
(3) OPTIONALLY
|
(3) OPTIONALLY
|
||||||
|
|
||||||
You might want to review the file "local.uses"
|
You might want to review the file "local.uses"
|
||||||
Change options and so forth at the top of the file.
|
Change options and so forth at the top of the file.
|
||||||
|
|
||||||
(4) Initially, you need to download some additional files.
|
(4) Initially, you need to download some additional files.
|
||||||
These include "libftdi", "libconfuse", and the ftd2xx drivers.
|
These include "libftdi", "libconfuse", and the ftd2xx drivers.
|
||||||
|
|
||||||
(5) You also need to build the supporting libraries and install them
|
(5) You also need to build the supporting libraries and install them
|
||||||
(They are installed "locally" only)
|
(They are installed "locally" only)
|
||||||
|
|
||||||
Type this command:
|
Type this command:
|
||||||
|
|
||||||
bash$ cd /home/duane/test
|
bash$ cd /home/duane/test
|
||||||
|
|
||||||
bash$ make initial.build
|
bash$ make initial.build
|
||||||
|
|
||||||
which: (1) downloads files
|
which: (1) downloads files
|
||||||
(2) builds the libs
|
(2) builds the libs
|
||||||
(3) builds OpenOCD
|
(3) builds OpenOCD
|
||||||
|
|
||||||
(6) As you hack upon OpenOCD... to rebuild OpenOCD...
|
(6) As you hack upon OpenOCD... to rebuild OpenOCD...
|
||||||
|
|
||||||
bash$ cd /home/duane/test
|
bash$ cd /home/duane/test
|
||||||
|
|
||||||
bash$ make remake
|
bash$ make remake
|
||||||
|
|
||||||
which: (1) re-bootstraps
|
which: (1) re-bootstraps
|
||||||
(2) re-configures
|
(2) re-configures
|
||||||
(3) re-builds
|
(3) re-builds
|
||||||
(4) re-installs.
|
(4) re-installs.
|
||||||
|
|
||||||
=======
|
=======
|
||||||
**END**
|
**END**
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue