From a25b64255e0f5e69ffb575cf44474cbe6ab297ac Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 30 Jul 2012 15:40:07 +0000 Subject: [PATCH] [package] dfu-util: do not build the static variant 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 utils/dfu-util/patches/001-no_static_binary.patch 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 index 0000000000..2efa15eb55 --- /dev/null +++ b/utils/dfu-util/patches/001-no_static_binary.patch @@ -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 -- 2.30.2