summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch')
-rw-r--r--meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch b/meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
deleted file mode 100644
index 9ffc5821c8..0000000000
--- a/meta-oe/recipes-support/dfu-util/dfu-util-0.4/0001-Revert-Makefile.am-Drop-static-dfu-util.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From b379db29534ce6fa2e185f559e817398b3feb9ea Mon Sep 17 00:00:00 2001
2From: Martin JaMa Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 11 Aug 2011 11:19:52 +0200
4Subject: [PATCH] Revert "Makefile.am: Drop static dfu-util"
5
6This reverts commit fe0426ddc04f503d148c5e5f931f16b8f674f071.
7
8Conflicts:
9
10 src/Makefile.am
11
12Signed-off-by: Martin JaMa Jansa <Martin.Jansa@gmail.com>
13---
14 src/Makefile.am | 15 ++++++++++++++-
15 1 files changed, 14 insertions(+), 1 deletions(-)
16
17diff --git a/src/Makefile.am b/src/Makefile.am
18index 0674413..ed87891 100644
19--- a/src/Makefile.am
20+++ b/src/Makefile.am
21@@ -1,6 +1,6 @@
22 AM_CFLAGS = -Wall
23
24-bin_PROGRAMS = dfu-util
25+bin_PROGRAMS = dfu-util dfu-util_static
26 dfu_util_SOURCES = main.c \
27 dfu_load.c \
28 dfu_load.h \
29@@ -11,3 +11,17 @@ dfu_util_SOURCES = main.c \
30 dfu_file.h \
31 quirks.c \
32 quirks.h
33+
34+dfu_util_static_SOURCES = main.c \
35+ dfu_load.c \
36+ dfu_load.h \
37+ dfu.c \
38+ dfu.h \
39+ usb_dfu.h \
40+ dfu_file.c \
41+ dfu_file.h \
42+ quirks.c \
43+ quirks.h
44+
45+dfu_util_static_LDFLAGS = -static
46+dfu_util_static_LDADD = -lusb-1.0 -lrt -lpthread
47--
481.7.6
49