summaryrefslogtreecommitdiffstats
path: root/samples/vfs
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
parenta3bc88645e9293f5aaac9c05a185d9f1c0594c6c (diff)
downloadlinux-6944a06d141b9afea38b15da08bd773d90abef0c.tar.bz2
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 'samples/vfs')
-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