patch-2.4.0-prerelease linux/net/packet/Makefile

Next file: linux/net/rose/Makefile
Previous file: linux/net/netrom/nr_timer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/net/packet/Makefile linux/net/packet/Makefile
@@ -9,15 +9,6 @@
 
 O_TARGET := packet.o
 
-O_OBJS :=
-M_OBJS :=
-
-ifeq ($(CONFIG_PACKET),y)
-  O_OBJS += af_packet.o
-else
-  ifeq ($(CONFIG_PACKET), m)
-    M_OBJS += af_packet.o
-  endif
-endif
+obj-$(CONFIG_PACKET) += af_packet.o
 
 include $(TOPDIR)/Rules.make

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