aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vfs/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-09 10:00:19 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-18 11:29:01 +0900
commit6944a06d141b9afea38b15da08bd773d90abef0c (patch)
tree725f77576509ada9edbca36d976a3034e67fe6a6 /samples/vfs/Makefile
parentkbuild: re-enable int-in-bool-context warning (diff)
downloadlinux-dev-6944a06d141b9afea38b15da08bd773d90abef0c.tar.xz
linux-dev-6944a06d141b9afea38b15da08bd773d90abef0c.zip
samples: guard sub-directories with CONFIG options
Do not descend to sub-directories when unneeded. I used subdir-$(CONFIG_...) for hidraw, seccomp, and vfs because they only contain host programs. While we are here, let's add SPDX License tag, and sort the directories alphabetically. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to '')
-rw-r--r--samples/vfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/vfs/Makefile b/samples/vfs/Makefile
index 4ac9690fb3c4..a3e4ffd4c773 100644
--- a/samples/vfs/Makefile
+++ b/samples/vfs/Makefile
@@ -1,5 +1,5 @@
# List of programs to build
-hostprogs-$(CONFIG_SAMPLE_VFS) := \
+hostprogs-y := \
test-fsmount \
test-statx