* [PATCH] kbuild: add forward declaration of default target to Makefile.asm-generic
@ 2017-10-11 3:52 Masahiro Yamada
2017-10-11 16:21 ` Doug Anderson
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2017-10-11 3:52 UTC (permalink / raw)
To: linux-kbuild
Cc: Sam Ravnborg, Douglas Anderson, Masahiro Yamada, Michal Marek,
linux-kernel
$(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(+)
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)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kbuild: add forward declaration of default target to Makefile.asm-generic
2017-10-11 3:52 [PATCH] kbuild: add forward declaration of default target to Makefile.asm-generic Masahiro Yamada
@ 2017-10-11 16:21 ` Doug Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Doug Anderson @ 2017-10-11 16:21 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Linux Kbuild mailing list, Sam Ravnborg, Michal Marek, linux-kernel
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-11 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-11 3:52 [PATCH] kbuild: add forward declaration of default target to Makefile.asm-generic Masahiro Yamada
2017-10-11 16:21 ` Doug Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).