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

Next file: linux/net/netrom/Makefile
Previous file: linux/net/lapb/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/net/netlink/Makefile linux/net/netlink/Makefile
@@ -9,17 +9,12 @@
 
 O_TARGET := netlink.o
 
-O_OBJS  := 
-OX_OBJS := af_netlink.o
+export-objs := af_netlink.o
 
-M_OBJS :=
+obj-y  := af_netlink.o
 
-ifeq ($(CONFIG_NETLINK_DEV), y)
-  O_OBJS += netlink_dev.o
-endif
+obj-m  :=
 
-ifeq ($(CONFIG_NETLINK_DEV), m)
-  M_OBJS += netlink_dev.o
-endif
+obj-$(CONFIG_NETLINK_DEV) += netlink_dev.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)