mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile
@ 2017-09-20 11:25 Masahiro Yamada
  2017-09-21  0:48 ` Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2017-09-20 11:25 UTC (permalink / raw)
  To: Vineet Gupta, linux-snps-arc
  Cc: Alexey Brodkin, Masahiro Yamada, linux-kernel

The top-level Makefile sets the default of UTS_MACHINE to $(ARCH).

If ARCH and UTS_MACHINE match, arch/$(ARCH)/Makefile need not specify
UTS_MACHINE explicitly.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arc/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 3a4b52b..d37f49d 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -6,8 +6,6 @@
 # published by the Free Software Foundation.
 #
 
-UTS_MACHINE := arc
-
 ifeq ($(CROSS_COMPILE),)
 ifndef CONFIG_CPU_BIG_ENDIAN
 CROSS_COMPILE := arc-linux-
-- 
2.7.4

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

* Re: [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile
  2017-09-20 11:25 [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile Masahiro Yamada
@ 2017-09-21  0:48 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2017-09-21  0:48 UTC (permalink / raw)
  To: Masahiro Yamada, linux-snps-arc; +Cc: Alexey Brodkin, linux-kernel

On 09/20/2017 04:25 AM, Masahiro Yamada wrote:
> The top-level Makefile sets the default of UTS_MACHINE to $(ARCH).
> 
> If ARCH and UTS_MACHINE match, arch/$(ARCH)/Makefile need not specify
> UTS_MACHINE explicitly.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Thx Masahiro san !

Applied to for-curr !

-Vineet

> ---
> 
>   arch/arc/Makefile | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arc/Makefile b/arch/arc/Makefile
> index 3a4b52b..d37f49d 100644
> --- a/arch/arc/Makefile
> +++ b/arch/arc/Makefile
> @@ -6,8 +6,6 @@
>   # published by the Free Software Foundation.
>   #
>   
> -UTS_MACHINE := arc
> -
>   ifeq ($(CROSS_COMPILE),)
>   ifndef CONFIG_CPU_BIG_ENDIAN
>   CROSS_COMPILE := arc-linux-
> 

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

end of thread, other threads:[~2017-09-21  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-20 11:25 [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile Masahiro Yamada
2017-09-21  0:48 ` Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®