2018-02-12 17:32:22 +00:00
|
|
|
#
|
|
|
|
|
# Makefile for the linux FAT12/16/32(VFAT)/64(exFAT) filesystem driver.
|
|
|
|
|
#
|
|
|
|
|
|
2019-05-31 13:18:03 +00:00
|
|
|
KERNELDIR=/lib/modules/$(shell uname -r)/build
|
|
|
|
|
|
2018-02-12 17:32:22 +00:00
|
|
|
obj-$(CONFIG_SDFAT_FS) += sdfat_fs.o
|
|
|
|
|
|
|
|
|
|
sdfat_fs-objs := sdfat.o core.o core_fat.o core_exfat.o api.o blkdev.o \
|
2018-02-12 18:25:18 +00:00
|
|
|
fatent.o amap_smart.o cache.o dfr.o nls.o misc.o \
|
2018-02-12 17:32:22 +00:00
|
|
|
mpage.o extent.o
|
|
|
|
|
|
2018-02-12 18:25:18 +00:00
|
|
|
sdfat_fs-$(CONFIG_SDFAT_VIRTUAL_XATTR) += xattr.o
|
|
|
|
|
sdfat_fs-$(CONFIG_SDFAT_STATISTICS) += statistics.o
|
2018-02-12 17:32:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
all:
|
2019-05-31 13:18:03 +00:00
|
|
|
@$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
|
2018-02-12 17:32:22 +00:00
|
|
|
|
|
|
|
|
clean:
|
2019-05-31 13:18:03 +00:00
|
|
|
@$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
|
2018-02-12 17:32:22 +00:00
|
|
|
|
|
|
|
|
cscope:
|
|
|
|
|
rm -rf cscope.files cscope.files
|
|
|
|
|
find $(PWD) \( -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.s' -o -name '*.S' \) -print > cscope.files
|
|
|
|
|
cscope
|