patch-2.2.4 linux/net/ipx/Makefile

Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/net/ipx/Makefile linux/net/ipx/Makefile
@@ -10,8 +10,12 @@
 # We only get in/to here if CONFIG_IPX = 'y' or 'm'
 
 O_TARGET := ipx.o
-M_OBJS   := $(O_TARGET)
-OX_OBJS  += af_ipx.o
+M_OBJS   :=
+OX_OBJS  := af_ipx.o
+
+ifeq ($(CONFIG_IPX),m)
+  M_OBJS += $(O_TARGET)
+endif
 
 ifeq ($(CONFIG_SYSCTL),y)
   O_OBJS += sysctl_net_ipx.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)