vserver 1.9.3
[linux-2.6.git] / net / Makefile
index 61740b4..a46436e 100644 (file)
@@ -9,7 +9,8 @@ obj-y   := nonet.o
 
 obj-$(CONFIG_NET)              := socket.o core/
 
-obj-$(CONFIG_COMPAT)           += compat.o
+tmp-$(CONFIG_COMPAT)           := compat.o
+obj-$(CONFIG_NET)              += $(tmp-y)
 
 # LLC has to be linked before the files in net/802/
 obj-$(CONFIG_LLC)              += llc/