diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-09-20 13:19:52 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-09-21 22:59:15 +0200 |
commit | 6c213d64b3e7babc3685af89921c645992b14aa0 (patch) | |
tree | 3bb73ba781b10af8b72d0d7e25fa3a1f68f09c19 /package/openocd/openocd-0003-force-gnu99.patch | |
parent | 4d33cb702145f0cb9e1bad3e30cb740c21fe56b7 (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-0003-force-gnu99.patch')
-rw-r--r-- | package/openocd/openocd-0003-force-gnu99.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/openocd/openocd-0003-force-gnu99.patch b/package/openocd/openocd-0003-force-gnu99.patch new file mode 100644 index 000000000..106d11295 --- /dev/null +++ b/package/openocd/openocd-0003-force-gnu99.patch @@ -0,0 +1,19 @@ +force gnu99 + +Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> +--- + configure.in | 1 + + 1 file changed, 1 insertion(+) + +Index: b/configure.in +=================================================================== +--- a/configure.in ++++ b/configure.in +@@ -28,6 +28,7 @@ AC_DISABLE_SHARED + AC_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + ++CFLAGS="$CFLAGS -std=gnu99" + + dnl configure checks required for Jim files (these are obsolete w/ C99) + AC_C_CONST |