]> git.sur5r.net Git - openocd/commitdiff
Added documentation for build test case1
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 01:44:29 +0000 (01:44 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 27 Dec 2008 01:44:29 +0000 (01:44 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1277 b42882b7-edfa-0310-969c-e2dbd0fdcd60

testing/build.test1/Makefile
testing/build.test1/Makefile.libusb
testing/build.test1/README.TXT [new file with mode: 0755]

index a69d7d33d9145ccfcd74800ee406ff6b30fc05a3..7271bf2c6dc17ba12f3d70f82617e535453b5d80 100755 (executable)
@@ -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
 
 
+
index 84e66aeca4253007cf85a869be4f63cd14b8d58a..815592a189c2d28c30a671355f894d878fe3facb 100755 (executable)
@@ -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 (executable)
index 0000000..330d6ab
--- /dev/null
@@ -0,0 +1,39 @@
+-- Duane Ellis'es test case for building numerous openocd configurations...\r
+Dec 26,2008\r
+---------------------------------------------------------------------------\r
+\r
+1)     Make a directory some where..\r
+\r
+       mkdir ~/test\r
+\r
+2)     Change to that directory\r
+\r
+       cd  ~/test\r
+\r
+3)     Checkout OpenOCD in that directory.\r
+\r
+       cd ~/test\r
+       svn co https://svn.berlios.de/svnroot/repos/openocd/trunk openocd\r
+\r
+4)      Copy the "build.test1" directory to the "~/work" directory.\r
+\r
+\r
+       cd ~/test\r
+       cp ~/openocd/testing/build.test1/.  ~/test/.\r
+\r
+5)     If needed, download various components.\r
+\r
+       cd ~/work\r
+       make all.download\r
+\r
+\r
+6)     For Linux - type: \r
+\r
+       cd ~/work\r
+       make linux.buildtest\r
+\r
+7)     For Cygwin - type:\r
+\r
+       cd ~/work\r
+       make cygwin.buildtest\r
+\r