summaryrefslogtreecommitdiffstats
path: root/samples/seccomp/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-07 17:31:47 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-18 03:46:06 +0100
commitbf070bb0e6c62ba3075db0a666763ba52c677102 (patch)
tree0e85b6a300e4a8848173f9a1b051e22bb6096fae /samples/seccomp/Makefile
parentkbuild: create built-in.o automatically if parent directory wants it (diff)
downloadlinux-bf070bb0e6c62ba3075db0a666763ba52c677102.tar.xz
linux-bf070bb0e6c62ba3075db0a666763ba52c677102.zip
kbuild: remove all dummy assignments to obj-
Now kbuild core scripts create empty built-in.o where necessary. Remove "obj- := dummy.o" tricks. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples/seccomp/Makefile')
-rw-r--r--samples/seccomp/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile
index 19a870eed82b..0e349b80686e 100644
--- a/samples/seccomp/Makefile
+++ b/samples/seccomp/Makefile
@@ -1,7 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-# kbuild trick to avoid linker error. Can be omitted if a module is built.
-obj- := dummy.o
-
hostprogs-$(CONFIG_SAMPLE_SECCOMP) := bpf-fancy dropper bpf-direct
HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include