diff options
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/net/netlink/Makefile b/net/netlink/Makefile index da89d0af0..15edc5301 100644 --- a/net/netlink/Makefile +++ b/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 |