summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-22 18:50:33 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-23 10:12:03 +0900
commit4d4b5c2e3b6e6137c36cc13fe0d03404205afbd0 (patch)
treef925d99fbba9a000cbc7a4bef611993b27d27f76 /Kbuild
parent3470d9eb638722212ac44787eaf13486823fa011 (diff)
downloadlinux-stable-4d4b5c2e3b6e6137c36cc13fe0d03404205afbd0.tar.gz
linux-stable-4d4b5c2e3b6e6137c36cc13fe0d03404205afbd0.tar.bz2
linux-stable-4d4b5c2e3b6e6137c36cc13fe0d03404205afbd0.zip
treewide: remove explicit rules for *offsets.s
These explicit rules are unneeded because scripts/Makefile.build provides a pattern rule to create %.s from %.c Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/Kbuild b/Kbuild
index 005304205482..b24210cb4dfe 100644
--- a/Kbuild
+++ b/Kbuild
@@ -16,10 +16,6 @@ bounds-file := include/generated/bounds.h
always := $(bounds-file)
targets := kernel/bounds.s
-# We use internal kbuild rules to avoid the "is up to date" message from make
-kernel/bounds.s: kernel/bounds.c FORCE
- $(call if_changed_dep,cc_s_c)
-
$(obj)/$(bounds-file): kernel/bounds.s FORCE
$(call filechk,offsets,__LINUX_BOUNDS_H__)
@@ -50,10 +46,7 @@ offsets-file := include/generated/asm-offsets.h
always += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
-# We use internal kbuild rules to avoid the "is up to date" message from make
-arch/$(SRCARCH)/kernel/asm-offsets.s: arch/$(SRCARCH)/kernel/asm-offsets.c \
- $(obj)/$(timeconst-file) $(obj)/$(bounds-file) FORCE
- $(call if_changed_dep,cc_s_c)
+arch/$(SRCARCH)/kernel/asm-offsets.s: $(obj)/$(timeconst-file) $(obj)/$(bounds-file)
$(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
$(call filechk,offsets,__ASM_OFFSETS_H__)