patch-2.1.76 linux/net/802/Makefile

Next file: linux/net/Config.in
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.75/linux/net/802/Makefile linux/net/802/Makefile
@@ -17,7 +17,8 @@
 ifeq ($(CONFIG_LLC),y)
 SUB_DIRS += transit
 O_OBJS += llc_sendpdu.o llc_utility.o cl2llc.o
-OX_OBJS += llc_macinit.o p8022.o psnap.o p8022tr.o
+OX_OBJS += llc_macinit.o
+SNAP = y
 endif
 
 ifdef CONFIG_TR
@@ -29,14 +30,17 @@
 endif
 
 ifdef CONFIG_IPX
-OX_OBJS += p8022.o psnap.o p8022tr.o
+	SNAP=y
 endif
 
 ifdef CONFIG_ATALK
-ifndef CONFIG_IPX
-OX_OBJS += p8022.o psnap.o p8022tr.o
+	SNAP=y
 endif
+
+ifeq ($(SNAP),y)
+OX_OBJS += p8022.o psnap.o p8022tr.o
 endif
+
 
 include $(TOPDIR)/Rules.make
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov