summaryrefslogtreecommitdiffstats
path: root/drivers/ap1000/Makefile
blob: 47f37720a36fd2e3c1eeff7aa1020f81e2c76ffd (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
# File: drivers/ap1000/Makefile
#
# Makefile for the AP1000 drivers
#

L_TARGET := ap1000.a
L_OBJS   := bif.o apfddi.o mac.o plc.o ringbuf.o

ifeq ($(CONFIG_APBLOCK),y)
L_OBJS += ap.o
else
  ifeq ($(CONFIG_APBLOCK),m)
  M_OBJS += ap.o
  endif
endif

ifeq ($(CONFIG_DDV),y)
L_OBJS += ddv.o ddv_util.o
else
  ifeq ($(CONFIG_DDV),m)
  M_OBJS += ddv.o ddv_util.o
  endif
endif

include $(TOPDIR)/Rules.make

clean:
	rm -f core *.o *.a *.s