2 # Makefile for the Acorn block device drivers.
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).
8 # Note 2! The CFLAGS definition is now inherited from the
12 USE_STANDARD_AS_RULE := true
14 O_TARGET := acorn-block.o
22 list-multi := fd1772_mod.o mfmhd_mod.o
23 fd1772_mod-objs := fd1772.o fd1772dma.o
24 mfmhd_mod-objs := mfmhd.o mfm.o
26 obj-$(CONFIG_BLK_DEV_FD1772) += fd1772_mod.o
27 obj-$(CONFIG_BLK_DEV_MFM) += mfmhd_mod.o
29 include $(TOPDIR)/Rules.make
31 fd1772_mod.o: $(fd1772_mod-objs)
32 $(LD) -r -o $@ $(fd1772_mod-objs)
34 mfmhd_mod.o: $(mfmhd_mod-objs)
35 $(LD) -r -o $@ $(mfmhd_mod-objs)