Skip to content

Commit

Permalink
kbuild: add forward declaration of default target to Makefile.asm-gen…
Browse files Browse the repository at this point in the history
…eric

$(kbuild-file) and Kbuild.include are included before the default
target "all".

We will add a target into Kbuild.include.  In advance, add a forward
declaration of the default target.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
  • Loading branch information
masahir0y committed Nov 13, 2017
1 parent 4e13d47 commit a7d34df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/Makefile.asm-generic
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# and for each file listed in this file with generic-y creates
# a small wrapper file in $(obj) (arch/$(SRCARCH)/include/generated/$(src))

PHONY := all
all:

kbuild-file := $(srctree)/arch/$(SRCARCH)/include/$(src)/Kbuild
-include $(kbuild-file)

Expand Down

0 comments on commit a7d34df

Please sign in to comment.