* [PATCH] x86/build: remove redundant 'clean-files += capflags.c'
@ 2019-06-25 7:33 Masahiro Yamada
2019-06-25 7:55 ` [tip:x86/build] x86/build: Remove " tip-bot for Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2019-06-25 7:33 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, x86
Cc: Masahiro Yamada, H. Peter Anvin, Borislav Petkov, linux-kernel
All the files added to 'targets' are cleaned. Adding the same file
to both 'targets' and 'clean-files' is redundant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
arch/x86/kernel/cpu/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index 5102bf7c8192..50abae9a72e5 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -54,8 +54,7 @@ quiet_cmd_mkcapflags = MKCAP $@
cpufeature = $(src)/../../include/asm/cpufeatures.h
-targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags)
endif
-clean-files += capflags.c
+targets += capflags.c
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/build] x86/build: Remove redundant 'clean-files += capflags.c'
2019-06-25 7:33 [PATCH] x86/build: remove redundant 'clean-files += capflags.c' Masahiro Yamada
@ 2019-06-25 7:55 ` tip-bot for Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Masahiro Yamada @ 2019-06-25 7:55 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, bp, tglx, hpa, mingo, yamada.masahiro
Commit-ID: 87b61864d7ab2aec5c212ff18950d4972f0dfb4e
Gitweb: https://git.kernel.org/tip/87b61864d7ab2aec5c212ff18950d4972f0dfb4e
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
AuthorDate: Tue, 25 Jun 2019 16:33:11 +0900
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 25 Jun 2019 09:52:06 +0200
x86/build: Remove redundant 'clean-files += capflags.c'
All the files added to 'targets' are cleaned. Adding the same file to both
'targets' and 'clean-files' is redundant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Borislav Petkov <bp@alien8.de>
Link: https://lkml.kernel.org/r/20190625073311.18303-1-yamada.masahiro@socionext.com
---
arch/x86/kernel/cpu/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile
index 5102bf7c8192..50abae9a72e5 100644
--- a/arch/x86/kernel/cpu/Makefile
+++ b/arch/x86/kernel/cpu/Makefile
@@ -54,8 +54,7 @@ quiet_cmd_mkcapflags = MKCAP $@
cpufeature = $(src)/../../include/asm/cpufeatures.h
-targets += capflags.c
$(obj)/capflags.c: $(cpufeature) $(src)/mkcapflags.sh FORCE
$(call if_changed,mkcapflags)
endif
-clean-files += capflags.c
+targets += capflags.c
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-25 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-25 7:33 [PATCH] x86/build: remove redundant 'clean-files += capflags.c' Masahiro Yamada
2019-06-25 7:55 ` [tip:x86/build] x86/build: Remove " tip-bot 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.