83a8040ba8
This allows kmemleak to function even when debugfs is globally disabled, allowing kmemleak to give accurate results for CONFIG_DEBUG_FS=n. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
8 lines
124 B
Makefile
8 lines
124 B
Makefile
debugfs-objs := inode.o file.o
|
|
|
|
ifeq ($(CONFIG_DEBUG_KMEMLEAK),y)
|
|
ccflags-y := -DCONFIG_DEBUG_FS
|
|
endif
|
|
|
|
obj-y += debugfs.o
|