package/binutils: fix build error due to architecture name is incomplete
PATCH 1/1 package/binutils: fix build error due to architecture name is incomplete
Fixes
http://autobuild.buildroot.net/results/128/12803a705586e82fdfb49013da2eb3b9879ccd45/
--- Makefile | 1 + arch/Config.in.nds32 | 2 +- package/binutils/Config.in | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-)
Makefile +1 -0
@@ -439,6 +439,7 @@ KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \ -e s/arceb/arc/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/aarch64.*/arm64/ \ + -e s/nds32.*/nds32/ \ -e s/or1k/openrisc/ \ -e s/parisc64/parisc/ \ -e s/powerpc64.*/powerpc/ \
arch/Config.in.nds32 +1 -1
@@ -1,5 +1,5 @@ config BR2_ARCH - default "nds32" + default "nds32le" config BR2_GCC_TARGET_ARCH default "v3"
package/binutils/Config.in +2 -2
@@ -1,6 +1,6 @@ config BR2_PACKAGE_BINUTILS bool "binutils" - depends on !BR2_nios2 && !BR2_nds32 + depends on !BR2_nios2 depends on BR2_USE_WCHAR help Install binutils on the target
@@ -21,5 +21,5 @@ config BR2_PACKAGE_BINUTILS_TARGET endif comment "binutils needs a toolchain w/ wchar" - depends on !BR2_nios2 && !BR2_nds32 + depends on !BR2_nios2 depends on !BR2_USE_WCHAR
Signature · 1 line
2.18.0
Thomas Petazzoni
AppliedPATCH 1/1 package/binutils: fix build error due to architecture name is incomplete
Quoted 11 lines · On Thu, 18 Apr 2019 17:46:55 +0800 Nylon Chen <[email protected]> wrote:
Fixes
http://autobuild.buildroot.net/results/128/12803a705586e82fdfb49013da2eb3b9879ccd45/Signed-off-by Che-Wei Chuang <[email protected]>Signed-off-by Greentime Hu <[email protected]>Signed-off-by Nylon Chen <[email protected]>--- Makefile | 1 + arch/Config.in.nds32 | 2 +- package/binutils/Config.in | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
A message that is not in the archive (sent off-list or not yet received): CAGKtFauRjyM83yyhyB5GC8_W_8PfhxaWgUhK9OLvecxfOH0R+g@mail.gmail.com
PATCH 1/1 package/binutils: fix build error due to architecture name is incomplete
Hello,
Quoted 2 lines · On Sat, 20 Apr 2019 22:33:26 +0800 ??? <[email protected]> wrote:
Sorry I make a mistake, this patch has an error, our architecture name is nds32 not nds32le.
Well, the architecture can be named nds32, but its tuple can be nds32le.
At least, gnuconfig supports nds32le and nds32be:
$ grep nds32 support/gnuconfig/* support/gnuconfig/config.sub: | nds32 | nds32le | nds32be \ support/gnuconfig/config.sub: | nds32-* | nds32le-* | nds32be-* \
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com