2020-03-26 19:38:33

by David Engraf

[permalink] [raw]
Subject: [PATCH] kbuild: add outputmakefile to no-dot-config-targets

The target outputmakefile is used to generate a Makefile
for out-of-tree builds and does not depend on the kernel
configuration.

Signed-off-by: David Engraf <[email protected]>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e56bf7ef182d..45be0e5b0cef 100644
--- a/Makefile
+++ b/Makefile
@@ -255,7 +255,7 @@ clean-targets := %clean mrproper cleandocs
no-dot-config-targets := $(clean-targets) \
cscope gtags TAGS tags help% %docs check% coccicheck \
$(version_h) headers headers_% archheaders archscripts \
- %asm-generic kernelversion %src-pkg
+ %asm-generic kernelversion %src-pkg outputmakefile
no-sync-config-targets := $(no-dot-config-targets) install %install \
kernelrelease
single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
--
2.17.1


2020-03-28 02:32:33

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] kbuild: add outputmakefile to no-dot-config-targets

On Fri, Mar 27, 2020 at 4:37 AM David Engraf <[email protected]> wrote:
>
> The target outputmakefile is used to generate a Makefile
> for out-of-tree builds and does not depend on the kernel
> configuration.
>
> Signed-off-by: David Engraf <[email protected]>

Applied to linux-kbuild.

Thanks.


> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index e56bf7ef182d..45be0e5b0cef 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -255,7 +255,7 @@ clean-targets := %clean mrproper cleandocs
> no-dot-config-targets := $(clean-targets) \
> cscope gtags TAGS tags help% %docs check% coccicheck \
> $(version_h) headers headers_% archheaders archscripts \
> - %asm-generic kernelversion %src-pkg
> + %asm-generic kernelversion %src-pkg outputmakefile
> no-sync-config-targets := $(no-dot-config-targets) install %install \
> kernelrelease
> single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
> --
> 2.17.1
>


--
Best Regards
Masahiro Yamada