patch-1.3.24 linux/net/ipv4/Makefile

Next file: linux/net/ipv4/ip.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.23/linux/net/ipv4/Makefile linux/net/ipv4/Makefile
@@ -12,11 +12,13 @@
 		   arp.o ip.o raw.o icmp.o tcp.o udp.o devinet.o af_inet.o \
 		   igmp.o ip_fw.o ipip.o ipmr.o
 
-ifdef CONFIG_INET_RARP
+ifeq ($(CONFIG_INET_RARP),y)
 IPV4_OBJS := $(IPV4_OBJS) rarp.o
 else
-M_OBJS := rarp.o
-MOD_LIST_NAME := IPV4_MODULES
+  ifeq ($(CONFIG_INET_RARP),m)
+    M_OBJS := rarp.o
+    MOD_LIST_NAME := IPV4_MODULES
+   endif
 endif
 
 ifdef CONFIG_INET

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this