diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 01:44:29 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 01:44:29 +0000 |
commit | dbd26e3a27bcc50854b768bad146882a02dc58f0 (patch) | |
tree | 2739c6c85d49d4c12ae255cfe075cff83d4c3a78 | |
parent | 92c9d46449a7562080ea0277a7b7309ed2bdba03 (diff) | |
download | riscv-openocd-dbd26e3a27bcc50854b768bad146882a02dc58f0.zip riscv-openocd-dbd26e3a27bcc50854b768bad146882a02dc58f0.tar.gz riscv-openocd-dbd26e3a27bcc50854b768bad146882a02dc58f0.tar.bz2 |
Added documentation for build test case1
git-svn-id: svn://svn.berlios.de/openocd/trunk@1277 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rwxr-xr-x | testing/build.test1/Makefile | 8 | ||||
-rwxr-xr-x | testing/build.test1/Makefile.libusb | 4 | ||||
-rwxr-xr-x | testing/build.test1/README.TXT | 39 |
3 files changed, 49 insertions, 2 deletions
diff --git a/testing/build.test1/Makefile b/testing/build.test1/Makefile index a69d7d3..7271bf2 100755 --- a/testing/build.test1/Makefile +++ b/testing/build.test1/Makefile @@ -81,6 +81,13 @@ linux.ftd2xx_installed.setup: cd $(EXEC_PREFIX)/lib && ln -s libftd2xx.so.$(FTD2XX_LINUX_VERSION) libftd2xx.so +all.download: + mkdir -p ${VIRGINS} + ${MAKE} -f Makefile.confuse download + ${MAKE} -f Makefile.libftdi download + ${MAKE} -f Makefile.ftd2xx download + ${MAKE} -f Makefile.libusb download + .PHONY: linux.buildtest \ linux.easy.buildtest \ linux.ftd2xx_installed \ @@ -88,3 +95,4 @@ linux.ftd2xx_installed.setup: linux.ftd2xx_installed.setup + diff --git a/testing/build.test1/Makefile.libusb b/testing/build.test1/Makefile.libusb index 84e66ae..815592a 100755 --- a/testing/build.test1/Makefile.libusb +++ b/testing/build.test1/Makefile.libusb @@ -10,8 +10,8 @@ ifeq (x"$BUILD_SYSNAME",x"mingw32") $(error Please use the win32 specific port of LibUSB not the Unix version) endif -TARFILE_LOCAL = ${VIRGINS}/libusb-${LIBUSB_VERSION}.tar.bz2 -TARFILE_URL = http://downloads.sourceforge.net/libusb/libusb-${LIBUSB_VERSION}.tar.gz +TARFILE_LOCAL = ${VIRGINS}/libusb-${LIBUSB_VERSION_linux}.tar.bz2 +TARFILE_URL = http://downloads.sourceforge.net/libusb/libusb-${LIBUSB_VERSION_linux}.tar.gz LIBUSB_SRC_DIR = ${HERE}/libusb-${LIBUSB_VERSION} LIBUSB_BUILD_DIR = ${HERE}/libusb-build diff --git a/testing/build.test1/README.TXT b/testing/build.test1/README.TXT new file mode 100755 index 0000000..330d6ab --- /dev/null +++ b/testing/build.test1/README.TXT @@ -0,0 +1,39 @@ +-- Duane Ellis'es test case for building numerous openocd configurations...
+Dec 26,2008
+---------------------------------------------------------------------------
+
+1) Make a directory some where..
+
+ mkdir ~/test
+
+2) Change to that directory
+
+ cd ~/test
+
+3) Checkout OpenOCD in that directory.
+
+ cd ~/test
+ svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd
+
+4) Copy the "build.test1" directory to the "~/work" directory.
+
+
+ cd ~/test
+ cp ~/openocd/testing/build.test1/. ~/test/.
+
+5) If needed, download various components.
+
+ cd ~/work
+ make all.download
+
+
+6) For Linux - type:
+
+ cd ~/work
+ make linux.buildtest
+
+7) For Cygwin - type:
+
+ cd ~/work
+ make cygwin.buildtest
+
|