summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-04-27 12:33:36 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-04-28 10:30:17 +0900
commit5a96bacb09113eca0d5dc7b29ffb2d00b87c5f2a (patch)
treec0c7cac863f431509ba59b1b5d9f55a4e3d490aa /samples
parentc21e4135d6298e54d993ce255332d983d7f6833c (diff)
downloadlinux-next-5a96bacb09113eca0d5dc7b29ffb2d00b87c5f2a.tar.gz
kbuild: move samples/ to KBUILD_VMLINUX_OBJS
Handle samples/ like the other top-level directories to simplify the Makefile. Include include/config/auto.conf earlier to evaluate drivers-$(CONFIG_SAMPLES). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/Makefile b/samples/Makefile
index b1142a958811..50f858612148 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -1,6 +1,6 @@
# Makefile for Linux samples code
-obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
+obj-y += kobject/ kprobes/ trace_events/ livepatch/ \
hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \
configfs/ connector/ v4l/ trace_printk/ \
vfio-mdev/ statx/ qmi/ binderfs/