OSDN Git Service

kbuild: add forward declaration of default target to Makefile.asm-generic
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 11 Oct 2017 03:52:29 +0000 (12:52 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Nov 2017 13:54:17 +0000 (22:54 +0900)
$(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>
scripts/Makefile.asm-generic

index a6c8c17..9563215 100644 (file)
@@ -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)