kbuild: update ARCH alias info for sparc

Message ID 03cfef31-5308-7b17-9e0d-3a0dc680e750@infradead.org
State Not Applicable
Delegated to: David Miller
Headers show
Series
  • kbuild: update ARCH alias info for sparc
Related show

Commit Message

Randy Dunlap July 5, 2018, 7:12 p.m.
From: Randy Dunlap <rdunlap@infradead.org>

The supported alias for building sparc 32-bit is "sparc32",
not "sparc", so update the alias documentation for that.
Just using "sparc" produces a 64-bit config file.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
This patch follows my previous patch that adds the sh: line.

 Documentation/kbuild/kbuild.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller July 6, 2018, 12:31 a.m. | #1
From: Randy Dunlap <rdunlap@infradead.org>
Date: Thu, 5 Jul 2018 12:12:03 -0700

> From: Randy Dunlap <rdunlap@infradead.org>
> 
> The supported alias for building sparc 32-bit is "sparc32",
> not "sparc", so update the alias documentation for that.
> Just using "sparc" produces a 64-bit config file.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Acked-by: David S. Miller <davem@davemloft.net>
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Masahiro Yamada July 6, 2018, 1:04 a.m. | #2
2018-07-06 9:31 GMT+09:00 David Miller <davem@davemloft.net>:
> From: Randy Dunlap <rdunlap@infradead.org>
> Date: Thu, 5 Jul 2018 12:12:03 -0700
>
>> From: Randy Dunlap <rdunlap@infradead.org>
>>
>> The supported alias for building sparc 32-bit is "sparc32",
>> not "sparc", so update the alias documentation for that.
>> Just using "sparc" produces a 64-bit config file.
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>
> Acked-by: David S. Miller <davem@davemloft.net>
> --

Applied to linux-kbuild. Thanks!

Patch

--- lnx-418-rc3.orig/Documentation/kbuild/kbuild.txt
+++ lnx-418-rc3/Documentation/kbuild/kbuild.txt
@@ -94,7 +94,7 @@  directory name found in the arch/ direct
 But some architectures such as x86 and sparc have aliases.
 x86: i386 for 32 bit, x86_64 for 64 bit
 sh: sh for 32 bit, sh64 for 64 bit
-sparc: sparc for 32 bit, sparc64 for 64 bit
+sparc: sparc32 for 32 bit, sparc64 for 64 bit
 
 CROSS_COMPILE
 --------------------------------------------------