]> git.sur5r.net Git - openocd/commitdiff
Add xscale debug helper sources and everything related to dist
authorPaul Fertser <fercerpav@gmail.com>
Mon, 27 Jan 2014 18:25:42 +0000 (22:25 +0400)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 29 Mar 2014 07:56:33 +0000 (07:56 +0000)
GPL requires providing sources for any derived work. I do not see any
reason to not include the xscale stuff into release tarballs.

Wildcard matching is used because plain directory name matches
implicit rule for executables and xscale.c built is errorneously
attempted, and directory name with a slash duplicates a directory
(xscale/xscale) in dist.

Change-Id: Ie0266470dcb97be87a09ba2dda9b3957f7cbc2fa
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1911
Tested-by: jenkins
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/Makefile.am

index 159f0fa4307c426935c971445caa7178519d15ab..08d0db48e3edbc52674c44db9f83a96df54dc664 100644 (file)
@@ -14,7 +14,7 @@ BIN2C         = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
 DEBUG_HANDLER  = $(srcdir)/xscale/debug_handler.bin
 EXTRA_DIST = \
        startup.tcl \
-       $(DEBUG_HANDLER)
+       $(wildcard $(srcdir)/xscale/*)
 
 DEBUG_HEADER   = xscale_debug.h
 BUILT_SOURCES = $(DEBUG_HEADER)