1#
2# Makefile for the Acorn block device drivers.
3#
4# Note! Dependencies are done automagically by 'make dep', which also
5# removes any old dependencies. DON'T put your own dependencies here
6# unless it's something special (ie not a .c file).
7#
8# Note 2! The CFLAGS definition is now inherited from the
9# parent makefile.
10#
11
12USE_STANDARD_AS_RULE := true
13
14O_TARGET	:= acorn-block.o
15
16obj-y		:=
17obj-m		:=
18obj-n		:=
19obj-		:=
20
21export-objs	:=
22list-multi	:= fd1772_mod.o mfmhd_mod.o
23fd1772_mod-objs	:= fd1772.o fd1772dma.o
24mfmhd_mod-objs	:= mfmhd.o mfm.o
25
26obj-$(CONFIG_BLK_DEV_FD1772)	+= fd1772_mod.o
27obj-$(CONFIG_BLK_DEV_MFM)	+= mfmhd_mod.o
28
29include $(TOPDIR)/Rules.make
30
31fd1772_mod.o: $(fd1772_mod-objs)
32	$(LD) -r -o $@ $(fd1772_mod-objs)
33
34mfmhd_mod.o: $(mfmhd_mod-objs)
35	$(LD) -r -o $@ $(mfmhd_mod-objs)
36