summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-22 18:50:35 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-23 10:12:14 +0900
commit11fda148040bb987949f9b957aceb483407e32cb (patch)
tree41290501cd44a20cb9462465835f6fb4cb296155
parent2c667d77fc02dd453c49b9c29d08a8bb55d60ebe (diff)
downloadlinux-stable-11fda148040bb987949f9b957aceb483407e32cb.tar.gz
linux-stable-11fda148040bb987949f9b957aceb483407e32cb.tar.bz2
linux-stable-11fda148040bb987949f9b957aceb483407e32cb.zip
kbuild: remove $(obj)/ prefixes in ./Kbuild
Adding $(obj)/ to file paths relative from the top objtree looks a bit redundant to me. This commit has no functional change since $(obj) is '.' in this file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--Kbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/Kbuild b/Kbuild
index b24210cb4dfe..03cb8edfbafb 100644
--- a/Kbuild
+++ b/Kbuild
@@ -16,7 +16,7 @@ bounds-file := include/generated/bounds.h
always := $(bounds-file)
targets := kernel/bounds.s
-$(obj)/$(bounds-file): kernel/bounds.s FORCE
+$(bounds-file): kernel/bounds.s FORCE
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
@@ -34,7 +34,7 @@ define filechk_gentimeconst
(echo $(CONFIG_HZ) | bc -q $< )
endef
-$(obj)/$(timeconst-file): kernel/time/timeconst.bc FORCE
+$(timeconst-file): kernel/time/timeconst.bc FORCE
$(call filechk,gentimeconst)
#####
@@ -46,9 +46,9 @@ offsets-file := include/generated/asm-offsets.h
always += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s
-arch/$(SRCARCH)/kernel/asm-offsets.s: $(obj)/$(timeconst-file) $(obj)/$(bounds-file)
+arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
-$(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
+$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
@@ -70,7 +70,7 @@ missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
extra-$(CONFIG_GDB_SCRIPTS) += build_constants_py
-build_constants_py: $(obj)/$(timeconst-file) $(obj)/$(bounds-file)
+build_constants_py: $(timeconst-file) $(bounds-file)
@$(MAKE) $(build)=scripts/gdb/linux $@
# Keep these three files during make clean