[Buildroot] [PATCH 1/2] arch: add OpenRISC architecture support
peter at korsgaard.com
Wed Jan 25 22:23:25 UTC 2017
>>>>> "Waldemar" == Waldemar Brodkorb <wbx at openadk.org> writes:
> Add support for OpenRISC. See here for more details about
> OpenRISC http://openrisc.io.
> All buildroot included upstream binutils versions are supported.
> Gcc support is not upstream, to be able to enable musl C library
> support later, we use the branch with musl support.
> At the moment it is possible to build a musl based toolchain,
> but bootup in Qemu fails.
> Gdb is only working to debug bare-metal code, there is no support
> for gdbserver/gdb on Linux, yet.
> Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
> Tested-by: Romain Naour <romain.naour at gmail.com>
> v1 -> v2:
> * add SoB to numerated kernel patches, suggested by Romain
> * split defconfig and arch support patches, suggested by Thomas P.
> +++ b/package/gcc/gcc.mk
> @@ -13,11 +13,13 @@ GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
> ifeq ($(BR2_arc),y)
> GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
> GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
> +else ifeq ($(BR2_or1k),y)
> +GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION))
> +GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
> GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
> GCC_SOURCE ?= gcc-$(GCC_VERSION).tar.bz2
The way things are now structured the ?= isn't needed anymore, so I've
Committed with that changed, thanks.
Bye, Peter Korsgaard
More information about the buildroot