#
# Makefile for SD Standard Host Controller Driver
# framework and drivers
#
# $Id: Makefile,v 1.7 2006/01/12 01:43:14 gbarnard Exp $
#
# obj-$(CONFIG_SD_HOST)	+= sd-pci.o

include $(ROOT)/usr/include/make/dummyrules

INSTALL=/usr/bin/install
SDK_ROOT?=/opt/iop-sdk/

TARGETS         := sdpci.ko

sdpci-objs	:= sd-pci.o

obj-m		:= sdpci.o

default:
	make -C /lib/modules/`uname -r`/build M=`pwd` modules

exports install: default
	$(INSTALL) -p $(TARGETS) $(ROOT)/usr/bin/utils

sdk-install: default
	$(INSTALL) $(TARGETS) $(SDK_ROOT)/usr/bin/utils

clean:
	rm -f *.o *.ko

# eof
