diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-04-27 05:33:39 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-03 16:05:00 +0200 |
commit | 7206c1247416f2c62ce38b65994b5e74fefe2e2b (patch) | |
tree | f84decc53fb8d78328ad8f1d1fb85e48782793d3 /samples | |
parent | kbuild: move Documentation to vmlinux-alldirs (diff) | |
download | linux-7206c1247416f2c62ce38b65994b5e74fefe2e2b.tar.xz linux-7206c1247416f2c62ce38b65994b5e74fefe2e2b.zip |
samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option
The prompt of CONFIG_SAMPLE_SECCOMP claims this is "loadable module
only", which is invalid.
samples/seccomp/ only contains host programs, so having it tristate
is pointless.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/Kconfig | 4 | ||||
-rw-r--r-- | samples/seccomp/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index d19754ccad08..b98a763a9b72 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -103,8 +103,8 @@ config SAMPLE_CONNECTOR See also Documentation/connector/connector.txt config SAMPLE_SECCOMP - tristate "Build seccomp sample code -- loadable modules only" - depends on SECCOMP_FILTER && m + bool "Build seccomp sample code" + depends on SECCOMP_FILTER help Build samples of seccomp filters using various methods of BPF filter construction. diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index fb43a814d4c0..00e0b5e90bd0 100644 --- a/samples/seccomp/Makefile +++ b/samples/seccomp/Makefile @@ -40,5 +40,5 @@ HOSTLDLIBS_bpf-fancy += $(MFLAG) HOSTLDLIBS_dropper += $(MFLAG) HOSTLDLIBS_user-trap += $(MFLAG) endif -always := $(hostprogs-m) +always := $(hostprogs-y) endif |