]> git.neil.brown.name Git - history.git/commitdiff
o LLC: make sure llc.o is linked before the datalink protos when !module
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 29 Sep 2002 21:11:19 +0000 (18:11 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 29 Sep 2002 21:11:19 +0000 (18:11 -0300)
Thanks do Andries Brouwer for reporting the problem and suggesting a
way to fix it.

net/Makefile

index 1aeac6c821683341cecb78515e2fce130cf3860c..6cc376aaebf1c90b005124d90a1ffb87400170e9 100644 (file)
@@ -9,6 +9,8 @@ export-objs :=  netsyms.o
 
 obj-y  := socket.o core/
 
+# LLC has to be linked before the files in net/802/
+obj-$(CONFIG_LLC)              += llc/
 obj-$(CONFIG_NET)              += ethernet/ 802/ sched/ netlink/
 obj-$(CONFIG_INET)             += ipv4/
 obj-$(CONFIG_UNIX)             += unix/
@@ -31,7 +33,6 @@ obj-$(CONFIG_ATM)             += atm/
 obj-$(CONFIG_DECNET)           += decnet/
 obj-$(CONFIG_ECONET)           += econet/
 obj-$(CONFIG_VLAN_8021Q)       += 8021q/
-obj-$(CONFIG_LLC)              += llc/
 obj-$(CONFIG_IP_SCTP)          += sctp/
 
 ifeq ($(CONFIG_NET),y)