fpgafs/Makefile
ben 37bc27371a add basic low level driver managment.
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@345 766a2236-cff9-0310-b0c0-a81a5f92509a
2007-07-01 21:30:51 +00:00

20 lines
446 B
Makefile

KERNEL_RELEASE = $(shell uname -r)
KERNEL_BUILDROOT ?= /lib/modules/$(KERNEL_RELEASE)/build
BUILDROOT = $(shell pwd)
obj-m := fpgafs.o
fpgafs-objs := files.o inode.o llmgmt.o
# low level driver
obj-m += fpgafs_lldrv_dbg.o
obj-m += fpgafs_lldrv_cham.o
all :
$(MAKE) -C $(KERNEL_BUILDROOT) SUBDIRS=$(BUILDROOT) modules
clean:
rm -f *.ko *.o .*.cmd .*.o.flags *.mod.c Module.symvers
rm -rf .tmp_versions
.PHONY : all clean