diff mbox series

arc: remove redundant UTS_MACHINE define in arch/arc/Makefile

Message ID 1505906730-21904-1-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series arc: remove redundant UTS_MACHINE define in arch/arc/Makefile | expand

Commit Message

Masahiro Yamada Sept. 20, 2017, 11:25 a.m. UTC
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(-)

Comments

Vineet Gupta Sept. 21, 2017, 12:48 a.m. UTC | #1
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-
>
diff mbox series

Patch

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-