#
# Makefile for Sam 9407
#

# The target object and module list name.

O_TARGET	:= sam9407.o

# Objects that export symbols.

export-objs	:= 

# To use if driver has more than one file
list-multi := sam9407.o

sam9407-objs	:= alloc.o audio.o cards.o firmware.o i2c.o init.o\
	io.o midi.o mixer.o mod.o rtc.o	sbank.o	seq.o sndstat.o	sync.o\
	ulaw.o vendor.o fw_genuine.o fw_ews64.o fw_homstdr.o fw_hoon4d.o\
	fw_maxi64.o hw_ews64s.o hw_ews64xl.o hw_maxi64.o hw_st128.o\
	hw_stda.o

# Object file lists.

obj-y	:=
obj-m	:=
obj-n	:=
obj-	:=

# Each configuration option enables a list of files.

obj-$(CONFIG_SAM9407)		+= sam9407.o

# The global Rules.make.

include $(TOPDIR)/Rules.make

sam9407.o: $(sam9407-objs)
	$(LD) -r -o $@ $(sam9407-objs)
