summaryrefslogtreecommitdiffstats
path: root/arch/x86
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 /arch/x86
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 'arch/x86')
-rw-r--r--arch/x86/um/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile
index 17924646467c..2d686ae54681 100644
--- a/arch/x86/um/Makefile
+++ b/arch/x86/um/Makefile
@@ -38,6 +38,7 @@ USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o
$(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \
-Iarch/x86/include/generated
+targets += user-offsets.s
include/generated/user_constants.h: $(obj)/user-offsets.s
$(call filechk,offsets,__USER_CONSTANT_H__)