fpgafs/Makefile

16 lines
348 B
Makefile
Raw Normal View History

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
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