fix remaining netif_rx calls in napi polling patch
[openwrt.git] / package / libnl / patches / 100-static.patch
1 Index: libnl-1.0-pre7/lib/Makefile
2 ===================================================================
3 --- libnl-1.0-pre7.orig/lib/Makefile 2007-11-16 03:19:22.404997365 +0100
4 +++ libnl-1.0-pre7/lib/Makefile 2007-11-16 03:22:22.903283376 +0100
5 @@ -34,6 +34,7 @@
6 OUT_SLIB := $(PACKAGE_NAME).so.$(PACKAGE_VERSION)
7 LN_SLIB := $(PACKAGE_NAME).so
8 LN1_SLIB := $(LN_SLIB).1
9 +OUT_ALIB := $(PACKAGE_NAME).a
10
11 export
12
13 @@ -42,7 +43,7 @@
14
15 all:
16 @echo " MAKE $(OUT_SLIB)"; \
17 - $(MAKE) $(OUT_SLIB)
18 + $(MAKE) $(OUT_SLIB) $(OUT_ALIB)
19
20 $(OUT_SLIB): ../Makefile.opts $(OBJ)
21 @echo " LD $(OUT_SLIB)"; \
22 @@ -52,10 +53,15 @@
23 @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \
24 rm -f $(LN_SLIB) ; $(LN) -s $(LN1_SLIB) $(LN_SLIB)
25
26 +$(OUT_ALIB): ../Makefile.opts $(OBJ)
27 + @echo " AR $@"; \
28 + $(AR) rcu $@ $(OBJ); \
29 + $(RANLIB) $@
30 +
31 clean:
32 @echo " CLEAN lib"; \
33 $(RM) -f $(OBJ) $(OUT_SLIB) $(LN_SLIB) $(LN1_SLIB); \
34 - $(RM) -f $(DEPS) $(OUT_SLIB) $(LN_SLIB) $(LN1_SLIB)
35 + $(RM) -f $(DEPS) $(OUT_ALIB) $(LN_SLIB) $(LN1_SLIB)
36
37 distclean:
38 @echo " DISTCLEAN lib"; \
39 @@ -64,6 +70,7 @@
40 install:
41 mkdir -p $(DESTDIR)$(libdir)/
42 install -m 0644 $(OUT_SLIB) $(DESTDIR)$(libdir)
43 + install -m 0644 $(OUT_ALIB) $(DESTDIR)$(libdir)
44 rm -f $(DESTDIR)$(libdir)/$(LN1_SLIB)
45 $(LN) -s $(OUT_SLIB) $(DESTDIR)$(libdir)/$(LN1_SLIB)
46 rm -f $(DESTDIR)$(libdir)/$(LN_SLIB)
This page took 0.045668 seconds and 5 git commands to generate.