All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files
@ 2020-02-15  6:32 Masahiro Yamada
  2020-03-30  6:42 ` Masahiro Yamada
  2020-04-21 10:00 ` [tip: x86/build] x86/boot/build: Add " tip-bot2 for Masahiro Yamada
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2020-02-15  6:32 UTC (permalink / raw)
  To: x86, Ingo Molnar, Thomas Gleixner, Borislav Petkov, H . Peter Anvin
  Cc: Masahiro Yamada, Ard Biesheuvel, Bruce Ashfield, Daniel Kiper,
	Ingo Molnar, Konrad Rzeszutek Wilk, Ross Burton, linux-kernel

Files in $(targets) are always cleaned up.

Move the 'targets' assignment out of the ifdef and remove 'clean-files'.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/x86/boot/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 012b82fc8617..050164ba3def 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -57,11 +57,10 @@ $(obj)/cpu.o: $(obj)/cpustr.h
 
 quiet_cmd_cpustr = CPUSTR  $@
       cmd_cpustr = $(obj)/mkcpustr > $@
-targets += cpustr.h
 $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
 	$(call if_changed,cpustr)
 endif
-clean-files += cpustr.h
+targets += cpustr.h
 
 # ---------------------------------------------------------------------------
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files
  2020-02-15  6:32 [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files Masahiro Yamada
@ 2020-03-30  6:42 ` Masahiro Yamada
  2020-04-21 10:00 ` [tip: x86/build] x86/boot/build: Add " tip-bot2 for Masahiro Yamada
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2020-03-30  6:42 UTC (permalink / raw)
  To: X86 ML, Ingo Molnar, Thomas Gleixner, Borislav Petkov, H . Peter Anvin
  Cc: Ard Biesheuvel, Bruce Ashfield, Daniel Kiper, Ingo Molnar,
	Konrad Rzeszutek Wilk, Ross Burton, Linux Kernel Mailing List

On Sat, Feb 15, 2020 at 3:33 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> Files in $(targets) are always cleaned up.
>
> Move the 'targets' assignment out of the ifdef and remove 'clean-files'.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>


This is not a big deal, but let me ping just in case
you missed it.





> ---
>
>  arch/x86/boot/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
> index 012b82fc8617..050164ba3def 100644
> --- a/arch/x86/boot/Makefile
> +++ b/arch/x86/boot/Makefile
> @@ -57,11 +57,10 @@ $(obj)/cpu.o: $(obj)/cpustr.h
>
>  quiet_cmd_cpustr = CPUSTR  $@
>        cmd_cpustr = $(obj)/mkcpustr > $@
> -targets += cpustr.h
>  $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
>         $(call if_changed,cpustr)
>  endif
> -clean-files += cpustr.h
> +targets += cpustr.h
>
>  # ---------------------------------------------------------------------------
>
> --
> 2.17.1
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: x86/build] x86/boot/build: Add cpustr.h to targets and remove clean-files
  2020-02-15  6:32 [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files Masahiro Yamada
  2020-03-30  6:42 ` Masahiro Yamada
@ 2020-04-21 10:00 ` tip-bot2 for Masahiro Yamada
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Masahiro Yamada @ 2020-04-21 10:00 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Masahiro Yamada, Borislav Petkov, x86, LKML

The following commit has been merged into the x86/build branch of tip:

Commit-ID:     e3c7c1052271260955affbe65c4f328286fbe5fb
Gitweb:        https://git.kernel.org/tip/e3c7c1052271260955affbe65c4f328286fbe5fb
Author:        Masahiro Yamada <masahiroy@kernel.org>
AuthorDate:    Sat, 15 Feb 2020 15:32:41 +09:00
Committer:     Borislav Petkov <bp@suse.de>
CommitterDate: Tue, 21 Apr 2020 10:17:29 +02:00

x86/boot/build: Add cpustr.h to targets and remove clean-files

Files in $(targets) are always cleaned up. Move the 'targets' assignment
out of the ifdef and remove 'clean-files'.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200215063241.7437-1-masahiroy@kernel.org
---
 arch/x86/boot/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index e17be90..02c8d1c 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -57,11 +57,10 @@ $(obj)/cpu.o: $(obj)/cpustr.h
 
 quiet_cmd_cpustr = CPUSTR  $@
       cmd_cpustr = $(obj)/mkcpustr > $@
-targets += cpustr.h
 $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
 	$(call if_changed,cpustr)
 endif
-clean-files += cpustr.h
+targets += cpustr.h
 
 # ---------------------------------------------------------------------------
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-21 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15  6:32 [PATCH] x86/boot/build: add cpustr.h to targets and remove clean-files Masahiro Yamada
2020-03-30  6:42 ` Masahiro Yamada
2020-04-21 10:00 ` [tip: x86/build] x86/boot/build: Add " tip-bot2 for Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.