[package] dfu-util: do not build the static variant
authorFlorian Fainelli <florian@openwrt.org>
Mon, 30 Jul 2012 15:40:07 +0000 (15:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 30 Jul 2012 15:40:07 +0000 (15:40 +0000)
Some platforms like ARM do not provide a static libgcc and this will
just fail unconditionnaly.

SVN-Revision: 32914

utils/dfu-util/patches/001-no_static_binary.patch [new file with mode: 0644]

diff --git a/utils/dfu-util/patches/001-no_static_binary.patch b/utils/dfu-util/patches/001-no_static_binary.patch
new file mode 100644 (file)
index 0000000..2efa15e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN dfu-util/src/Makefile.am dfu-util.new/src/Makefile.am
+--- dfu-util/src/Makefile.am   2007-10-06 23:36:18.000000000 +0200
++++ dfu-util.new/src/Makefile.am       2012-07-30 15:13:04.020948991 +0200
+@@ -6,7 +6,7 @@
+       '\n#endif' > dfu-version.h
+ BUILT_SOURCES = dfu-version.h
+-bin_PROGRAMS = dfu-util dfu-util_static
++bin_PROGRAMS = dfu-util
+ dfu_util_SOURCES = main.c sam7dfu.c dfu.c dfu.h
+ dfu_util_static_SOURCES = main.c sam7dfu.c dfu.c dfu.h