projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kernel] remove support for 2.6.27, no target is using it anymore
[openwrt.git]
/
package
/
hotplug2
/
patches
/
110-static_worker.patch
diff --git
a/package/hotplug2/patches/110-static_worker.patch
b/package/hotplug2/patches/110-static_worker.patch
index
76471d5
..
453a52d
100644
(file)
--- a/
package/hotplug2/patches/110-static_worker.patch
+++ b/
package/hotplug2/patches/110-static_worker.patch
@@
-26,7
+26,7
@@
DESTDIR=
DESTDIR=
-@@ -13,13 +30,1
5
@@ all: $(BINS)
+@@ -13,13 +30,1
6
@@ all: $(BINS)
install:
$(INSTALL_BIN) $(BINS) $(DESTDIR)/sbin/
install:
$(INSTALL_BIN) $(BINS) $(DESTDIR)/sbin/
@@
-46,23
+46,24
@@
+ CFLAGS += -DSTATIC_WORKER=1
+else
+ CFLAGS += $(FPIC)
+ CFLAGS += -DSTATIC_WORKER=1
+else
+ CFLAGS += $(FPIC)
++ LDFLAGS += -ldl
+endif
+
--- a/common.mak
+++ b/common.mak
+endif
+
--- a/common.mak
+++ b/common.mak
-@@ -1,
8 +1,11
@@
+@@ -1,
7 +1,10
@@
# vim:set sw=8 nosta:
-CFLAGS=-Os -Wall -g -fPIC
# vim:set sw=8 nosta:
-CFLAGS=-Os -Wall -g -fPIC
+-LDFLAGS=-g -ldl
+COPTS=-Os -Wall -g
+COPTS=-Os -Wall -g
- LDFLAGS=-g -ldl
-
++LDFLAGS=-g
++
+CFLAGS=$(COPTS)
+FPIC=-fPIC
+CFLAGS=$(COPTS)
+FPIC=-fPIC
-+
+
INSTALL=install -c -m 644
INSTALL_BIN=install -c -m 755
INSTALL=install -c -m 644
INSTALL_BIN=install -c -m 755
-
--- a/workers/loader.c
+++ b/workers/loader.c
@@ -1,5 +1,23 @@
--- a/workers/loader.c
+++ b/workers/loader.c
@@ -1,5 +1,23 @@
This page took
0.032505 seconds
and
4
git commands to generate.