summaryrefslogtreecommitdiffstats
path: root/net/packet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/packet/Makefile')
-rw-r--r--net/packet/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/net/packet/Makefile b/net/packet/Makefile
index 95a98ed95..f17e887c1 100644
--- a/net/packet/Makefile
+++ b/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