diff mbox

kbuild: add forward declaration of default target to Makefile.asm-generic

Message ID 1507693949-23059-1-git-send-email-yamada.masahiro@socionext.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada Oct. 11, 2017, 3:52 a.m. UTC
$(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>
---

 scripts/Makefile.asm-generic | 3 +++
 1 file changed, 3 insertions(+)

Comments

Doug Anderson Oct. 11, 2017, 4:21 p.m. UTC | #1
Hi,

On Tue, Oct 10, 2017 at 8:52 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> $(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>
> ---
>
>  scripts/Makefile.asm-generic | 3 +++
>  1 file changed, 3 insertions(+)

Thanks for sending this out!

Reviewed-by: Douglas Anderson <dianders@chromium.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic
index a6c8c17..982fb7e 100644
--- a/scripts/Makefile.asm-generic
+++ b/scripts/Makefile.asm-generic
@@ -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)