summaryrefslogtreecommitdiffstats
path: root/net/ethernet/Makefile
blob: 6764a1af7a21db6827c0d2b1fda81e475298b7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Makefile for the Linux Ethernet layer.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := ethernet.o

OBJS	:= eth.o

ifeq ($(CONFIG_SYSCTL),y)
OBJS += sysctl_net_ether.o
endif

ifdef CONFIG_IPX
OBJ2	:= pe2.o
endif

ifdef CONFIG_ATALK
OBJ2	:= pe2.o
endif

obj-$(CONFIG_NET)	:= $(OBJS) $(OBJ2)

include $(TOPDIR)/Rules.make

tar:
	tar -cvf /dev/f1 .