#
# Makefile for USB peripheral controller and gadget drivers
# for kbuild 2.4
#

list-multi			:= g_zero.o

obj-$(CONFIG_USB_NET2280)	+= net2280.o
 
g_zero-objs			:= zero.o usbstring.o
obj-$(CONFIG_USB_ZERO)		+= g_zero.o

g_ether-objs			:= ether.o usbstring.o
obj-$(CONFIG_USB_ETH)		+= g_ether.o

export-objs :=			net2280.o

include $(TOPDIR)/Rules.make

g_zero.o: $(g_zero-objs)
	$(LD) -r -o $@ $(g_zero-objs)
g_ether.o: $(g_ether-objs)
	$(LD) -r -o $@ $(g_ether-objs)
