diff options
Diffstat (limited to 'drivers/ap1000/Makefile')
-rw-r--r-- | drivers/ap1000/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/ap1000/Makefile b/drivers/ap1000/Makefile new file mode 100644 index 000000000..47f37720a --- /dev/null +++ b/drivers/ap1000/Makefile @@ -0,0 +1,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 + |