summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-22 10:50:34 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-23 02:12:08 +0100
commit2c667d77fc02dd453c49b9c29d08a8bb55d60ebe (patch)
tree64f046796fcf8638d4e9c672a797cd31d18cf22f /samples
parenttreewide: remove explicit rules for *offsets.s (diff)
downloadlinux-2c667d77fc02dd453c49b9c29d08a8bb55d60ebe.tar.xz
linux-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 'samples')
-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: