android_kernel_xiaomi_sm7250/fs/debugfs/Makefile
Sultan Alsawaf 83a8040ba8 mm: kmemleak: Don't require global debug options or debugfs
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>
2022-11-12 11:24:00 +00:00

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