Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735726 > unrolled thread

[PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-09-20 13:30 +0200
Last post2017-09-21 02:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-20 13:30 +0200
    Re: [PATCH] arc: remove redundant UTS_MACHINE define in  arch/arc/Makefile Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-09-21 02:50 +0200

#1735726 — [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-09-20 13:30 +0200
Subject[PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile
Message-ID<urLmx-2mE-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1736298 — Re: [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile

FromVineet Gupta <Vineet.Gupta1@synopsys.com>
Date2017-09-21 02:50 +0200
SubjectRe: [PATCH] arc: remove redundant UTS_MACHINE define in arch/arc/Makefile
Message-ID<urXQJ-1XO-1@gated-at.bofh.it>
In reply to#1735726
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-
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web