summaryrefslogtreecommitdiff
path: root/package/openocd/openocd-0004-force_jimtcl_static.patch
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-09-20 13:19:52 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-21 22:59:15 +0200
commit6c213d64b3e7babc3685af89921c645992b14aa0 (patch)
tree3bb73ba781b10af8b72d0d7e25fa3a1f68f09c19 /package/openocd/openocd-0004-force_jimtcl_static.patch
parent4d33cb702145f0cb9e1bad3e30cb740c21fe56b7 (diff)
package: add openocd support
with only the following Adapters - FTDI FT2xxx/FT4xxx - J-Link (Segger and Atmel SAM-ICE) - Versaloon-Link JTAG Adapter [Peter: Config.in tweaks] Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openocd/openocd-0004-force_jimtcl_static.patch')
-rw-r--r--package/openocd/openocd-0004-force_jimtcl_static.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/openocd/openocd-0004-force_jimtcl_static.patch b/package/openocd/openocd-0004-force_jimtcl_static.patch
new file mode 100644
index 000000000..7118b57d7
--- /dev/null
+++ b/package/openocd/openocd-0004-force_jimtcl_static.patch
@@ -0,0 +1,25 @@
+force jimtcl to build static
+
+Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+---
+ jimtcl/auto.def | 5 -----
+ 1 file changed, 5 deletions(-)
+
+Index: b/jimtcl/auto.def
+===================================================================
+--- a/jimtcl/auto.def
++++ b/jimtcl/auto.def
+@@ -148,13 +148,8 @@ if {[opt-bool references]} {
+ msg-result "Enabling references"
+ define JIM_REFERENCES
+ }
+-if {[opt-bool shared with-jim-shared]} {
+- msg-result "Building shared library"
+- define JIM_LIBTYPE shared
+-} else {
+ msg-result "Building static library"
+ define JIM_LIBTYPE static
+-}
+ if {[opt-bool install-jim]} {
+ define install_jim 1
+ } else {