diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-04-27 05:33:36 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-03 16:04:59 +0200 |
commit | d93a18f27e3701a8cdc2228aee1c22451d1292e4 (patch) | |
tree | c6a85c52e5ab3f6e9ffe015af328d46db54653f8 /samples | |
parent | modpost: make KBUILD_MODPOST_WARN also configurable for external modules (diff) | |
download | linux-d93a18f27e3701a8cdc2228aee1c22451d1292e4.tar.xz linux-d93a18f27e3701a8cdc2228aee1c22451d1292e4.zip |
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/Makefile | 2 |
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/ |