Skip to content

Commit

Permalink
kbuild: do not add $(bounds-file) and $(offsets-file) to targets
Browse files Browse the repository at this point in the history
$(always) is added to targets by scripts/Makefile.build.
Moreover, filechk does not need .*.cmd files.

Adding these two files to targets is redundant.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
masahir0y authored and michal42 committed Apr 2, 2015
1 parent 4218aff commit 8a58e16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endef
bounds-file := include/generated/bounds.h

always := $(bounds-file)
targets := $(bounds-file) kernel/bounds.s
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
Expand All @@ -53,7 +53,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE
offsets-file := include/generated/asm-offsets.h

always += $(offsets-file)
targets += $(offsets-file)
targets += arch/$(SRCARCH)/kernel/asm-offsets.s

# We use internal kbuild rules to avoid the "is up to date" message from make
Expand Down

0 comments on commit 8a58e16

Please sign in to comment.