summaryrefslogtreecommitdiff
path: root/packages/openocd/files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-21 09:33:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-21 09:33:07 +0000
commit30e319d0a35603a48086d52c469b4557d7154ac7 (patch)
treed5adeed992b85260aab13177c515613e7bde2228 /packages/openocd/files
parent9801b47b79b2e15c1a36dff910cc434dccbfcc05 (diff)
openocd[-native] update recipe, add link-static patch, put into deploy directory (from openmoko)
Diffstat (limited to 'packages/openocd/files')
-rw-r--r--packages/openocd/files/.mtn2git_empty0
-rw-r--r--packages/openocd/files/openocd-link-static.patch20
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/openocd/files/.mtn2git_empty b/packages/openocd/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openocd/files/.mtn2git_empty
diff --git a/packages/openocd/files/openocd-link-static.patch b/packages/openocd/files/openocd-link-static.patch
new file mode 100644
index 0000000000..8a686efe5d
--- /dev/null
+++ b/packages/openocd/files/openocd-link-static.patch
@@ -0,0 +1,20 @@
+--- openocd/src/Makefile.am.orig 2007-03-01 11:51:41.000000000 -0300
++++ openocd/src/Makefile.am 2007-03-01 11:58:08.000000000 -0300
+@@ -7,7 +7,7 @@
+ -I$(top_srcdir)/src/flash -I$(top_srcdir)/src/pld $(all_includes)
+
+ # the library search path.
+-openocd_LDFLAGS = $(all_libraries)
++openocd_LDFLAGS = -static $(all_libraries)
+ SUBDIRS = helper jtag xsvf target server flash pld
+
+ if IS_MINGW
+@@ -17,7 +17,7 @@
+ endif
+
+ if FT2232_LIBFTDI
+-FTDI2232LIB = -lftdi
++FTDI2232LIB = -lftdi -lusb
+ else
+ FTDI2232LIB =
+ endif