Skip to content

Commit

Permalink
kbuild: remove redundant mkdir from ./Kbuild
Browse files Browse the repository at this point in the history
These two targets are added to "targets".  Their directories are
automatically created.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Nov 16, 2017
1 parent c4da7ed commit 4173cba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4173cba

Please sign in to comment.