mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
27d9a0fdb5
kmemleak-test.c was moved to the samples directory in1abbef4f51
("mm,kmemleak-test.c: move kmemleak-test.c to samples dir"). If CONFIG_DEBUG_KMEMLEAK_TEST=m and CONFIG_SAMPLES is unset, kmemleak-test.c will be unnecessarily compiled. So move the entry for CONFIG_DEBUG_KMEMLEAK_TEST from mm/Kconfig and add a new CONFIG_SAMPLE_KMEMLEAK in samples/ to control whether kmemleak-test.c is built or not. Link: https://lkml.kernel.org/r/20230330060904.292975-1-gehao@kylinos.cn Fixes:1abbef4f51
("mm,kmemleak-test.c: move kmemleak-test.c to samples dir") Signed-off-by: Hao Ge <gehao@kylinos.cn> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Alex Gaynor <alex.gaynor@gmail.com> Cc: Alex Williamson <alex.williamson@redhat.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Finn Behrens <me@kloenk.dev> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Miguel Ojeda <ojeda@kernel.org> Cc: Tony Krowiak <akrowiak@linux.ibm.com> Cc: Ye Xingchen <ye.xingchen@zte.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
40 lines
1.6 KiB
Makefile
40 lines
1.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for Linux samples code
|
|
|
|
subdir-$(CONFIG_SAMPLE_AUXDISPLAY) += auxdisplay
|
|
subdir-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs
|
|
obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
|
|
obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
|
|
obj-$(CONFIG_SAMPLE_FANOTIFY_ERROR) += fanotify/
|
|
subdir-$(CONFIG_SAMPLE_HIDRAW) += hidraw
|
|
obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += hw_breakpoint/
|
|
obj-$(CONFIG_SAMPLE_KDB) += kdb/
|
|
obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
|
|
obj-$(CONFIG_SAMPLE_KOBJECT) += kobject/
|
|
obj-$(CONFIG_SAMPLE_KPROBES) += kprobes/
|
|
subdir-$(CONFIG_SAMPLE_LANDLOCK) += landlock
|
|
obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch/
|
|
subdir-$(CONFIG_SAMPLE_PIDFD) += pidfd
|
|
obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
|
|
obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg/
|
|
subdir-$(CONFIG_SAMPLE_SECCOMP) += seccomp
|
|
subdir-$(CONFIG_SAMPLE_TIMER) += timers
|
|
obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace_events/
|
|
obj-$(CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS) += trace_events/
|
|
obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace_printk/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT_MULTI) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_FTRACE_OPS) += ftrace/
|
|
obj-$(CONFIG_SAMPLE_TRACE_ARRAY) += ftrace/
|
|
subdir-$(CONFIG_SAMPLE_UHID) += uhid
|
|
obj-$(CONFIG_VIDEO_PCI_SKELETON) += v4l/
|
|
obj-y += vfio-mdev/
|
|
subdir-$(CONFIG_SAMPLE_VFS) += vfs
|
|
obj-$(CONFIG_SAMPLE_INTEL_MEI) += mei/
|
|
subdir-$(CONFIG_SAMPLE_WATCHDOG) += watchdog
|
|
subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
|
|
obj-$(CONFIG_SAMPLE_KMEMLEAK) += kmemleak/
|
|
obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight/
|
|
obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
|
|
obj-$(CONFIG_SAMPLES_RUST) += rust/
|