#
# Makefile for the USB ov511 device drivers.
#

O_TARGET	:= usb-ov511.o

# Bizzarely there are not enough registers on the alpha for -O2 to work
# As a consequence -O2 WILL fail but not -O 0,1,3,4,5,6
# which just freaks me out a little
# we'll opt for -O3 here

ifeq ($(shell uname -m),alpha) 
EXTRA_CFLAGS := -O3
endif

# Object file lists.

obj-$(CONFIG_USB_OV511)				+= ov511.o
obj-$(CONFIG_USB_OV511)				+= i2c-algo-usb.o
obj-$(CONFIG_USB_OV511)				+= ov518_decomp.o
obj-$(CONFIG_USB_OV511)				+= ov511_decomp.o
 
# Objects that export symbols.
export-objs	:= ov511.o ov511_decomp.o ov518_decomp.o i2c-algo-usb.o

include $(TOPDIR)/Rules.make

