aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-22 18:50:34 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-23 10:12:08 +0900
commit2c667d77fc02dd453c49b9c29d08a8bb55d60ebe (patch)
tree64f046796fcf8638d4e9c672a797cd31d18cf22f /samples/bpf/Makefile
parenttreewide: remove explicit rules for *offsets.s (diff)
downloadlinux-dev-2c667d77fc02dd453c49b9c29d08a8bb55d60ebe.tar.xz
linux-dev-2c667d77fc02dd453c49b9c29d08a8bb55d60ebe.zip
treewide: add intermediate .s files to targets
Avoid unneeded recreation of these in the incremental build. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to '')
-rw-r--r--samples/bpf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 100a49d35c77..82d5a3870460 100644
--- a/samples/bpf/Makefile
+++ b/samples/bpf/Makefile
@@ -230,6 +230,7 @@ $(LIBBPF): FORCE
$(obj)/syscall_nrs.h: $(obj)/syscall_nrs.s FORCE
$(call filechk,offsets,__SYSCALL_NRS_H__)
+targets += syscall_nrs.s
clean-files += syscall_nrs.h
FORCE: