summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-13 11:29:39 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-16 01:07:36 +0100
commit4173cbac80faa22a8e2de40bcc7c156b675652b3 (patch)
tree84ca17f66f09d8f6314e3594c9861b1e0611b75c /Kbuild
parentkbuild: optimize object directory creation for incremental build (diff)
downloadlinux-4173cbac80faa22a8e2de40bcc7c156b675652b3.tar.xz
linux-4173cbac80faa22a8e2de40bcc7c156b675652b3.zip
kbuild: remove redundant mkdir from ./Kbuild
These two targets are added to "targets". Their directories are automatically created. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild2
1 files changed, 0 insertions, 2 deletions
diff --git a/Kbuild b/Kbuild
index 94c752762bc2..f1997d8744a7 100644
--- a/Kbuild
+++ b/Kbuild
@@ -17,7 +17,6 @@ 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
- $(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
$(obj)/$(bounds-file): kernel/bounds.s FORCE
@@ -53,7 +52,6 @@ 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
- $(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
$(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s FORCE