Skip to content

Commit a7d34df

Browse files
committed
kbuild: add forward declaration of default target to Makefile.asm-generic
$(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 <yamada.masahiro@socionext.com> Reviewed-by: Douglas Anderson <dianders@chromium.org>
1 parent 4e13d47 commit a7d34df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎scripts/Makefile.asm-generic‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# and for each file listed in this file with generic-y creates
66
# a small wrapper file in $(obj) (arch/$(SRCARCH)/include/generated/$(src))
77

8+
PHONY := all
9+
all:
10+
811
kbuild-file := $(srctree)/arch/$(SRCARCH)/include/$(src)/Kbuild
912
-include $(kbuild-file)
1013

0 commit comments

Comments
 (0)