summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO5
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.endian.choice3
-rw-r--r--target/config/Config.in.libc.choice2
-rw-r--r--target/config/Config.in.toolchain20
-rw-r--r--toolchain/binutils/Makefile.inc7
-rw-r--r--toolchain/gcc/Makefile4
-rw-r--r--toolchain/gcc/Makefile.inc7
9 files changed, 52 insertions, 1 deletions
diff --git a/TODO b/TODO
index 377dffae2..3d1969895 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,9 @@
global:
+- avr32
+- cris
+- metag
+- or1k
+
- projects dir idea
- lowercase package conversion
diff --git a/target/arch.lst b/target/arch.lst
index 2feef8463..5911428d7 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -1,5 +1,6 @@
aarch64
alpha
+arc
arm
bfin
m68k
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 4745e343d..a1f524633 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -43,6 +43,9 @@ config ADK_TARGET_CPU_WITH_3DNOWEXT
config ADK_CPU_ATHLON
boolean
+config ADK_CPU_ARC
+ boolean
+
config ADK_CPU_SH4
boolean
@@ -121,6 +124,7 @@ config ADK_TARGET_CPU_ARCH
default "armv6" if ADK_LINUX_ARM && ADK_little && ADK_armv6
default "armv7a" if ADK_LINUX_ARM && ADK_little && ADK_armv7a
default "arm" if ADK_LINUX_ARM && ADK_little
+ default "arc" if ADK_CPU_ARC
default "bfin" if ADK_CPU_BFIN
default "i486" if ADK_CPU_I486
default "i586" if ADK_CPU_I586
diff --git a/target/config/Config.in.endian.choice b/target/config/Config.in.endian.choice
index 3d50b76de..8f0ea99fc 100644
--- a/target/config/Config.in.endian.choice
+++ b/target/config/Config.in.endian.choice
@@ -4,7 +4,8 @@
choice ADK_TARGET_ENDIAN_MODE
prompt "Target Endianess"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
-depends on ADK_LINUX_SH || ADK_LINUX_MIPS || ADK_LINUX_MICROBLAZE || ADK_LINUX_MIPS64
+depends on ADK_LINUX_SH || ADK_LINUX_MIPS || ADK_LINUX_MICROBLAZE \
+ || ADK_LINUX_MIPS64 || ADK_LINUX_ARC
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
diff --git a/target/config/Config.in.libc.choice b/target/config/Config.in.libc.choice
index 271966e46..391e6b931 100644
--- a/target/config/Config.in.libc.choice
+++ b/target/config/Config.in.libc.choice
@@ -39,6 +39,8 @@ config ADK_TARGET_LIB_GLIBC
prompt "GNU C library"
boolean
select ADK_glibc
+ depends on !ADK_LINUX_ARC
+ depends on !ADK_LINUX_BFIN
depends on !ADK_LINUX_XTENSA
depends on !ADK_TARGET_UCLINUX
help
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index c91b65cd9..22a64c744 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -155,22 +155,35 @@ config ADK_TOOLCHAIN_GCC_4_5_4
depends on ADK_LINUX_BFIN
depends on !ADK_LINUX_AARCH64
+config ADK_TOOLCHAIN_GCC_4_8_3_ARC
+ prompt "4.8.3-arc"
+ boolean
+ depends on ADK_LINUX_ARC
+
+config ADK_TOOLCHAIN_GCC_4_8_3_ARC
+ prompt "4.8.3-arc"
+ boolean
+ depends on ADK_LINUX_ARC
+
config ADK_TOOLCHAIN_GCC_4_8_3
prompt "4.8.3"
boolean
depends on !ADK_LINUX_BFIN
depends on !ADK_LINUX_AARCH64
+ depends on !ADK_LINUX_ARC
config ADK_TOOLCHAIN_GCC_4_9_1
prompt "4.9.1"
boolean
depends on !ADK_LINUX_BFIN
+ depends on !ADK_LINUX_ARC
config ADK_TOOLCHAIN_GCC_GIT
prompt "git"
boolean
select ADK_DISABLE_CHECKSUM
depends on !ADK_LINUX_BFIN
+ depends on !ADK_LINUX_ARC
endchoice
@@ -183,16 +196,23 @@ config ADK_TOOLCHAIN_BINUTILS_2_22
boolean
depends on ADK_LINUX_BFIN
+config ADK_TOOLCHAIN_BINUTILS_2_23_ARC
+ prompt "2.23-arc"
+ boolean
+ depends on ADK_LINUX_ARC
+
config ADK_TOOLCHAIN_BINUTILS_2_24
prompt "2.24"
boolean
depends on !ADK_LINUX_BFIN
+ depends on !ADK_LINUX_ARC
config ADK_TOOLCHAIN_BINUTILS_GIT
prompt "git"
boolean
select ADK_DISABLE_CHECKSUM
depends on !ADK_LINUX_BFIN
+ depends on !ADK_LINUX_ARC
endchoice
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 128d100e3..054f74392 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -9,6 +9,13 @@ PKG_RELEASE:= 1
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_23_ARC),y)
+PKG_VERSION:= 2.23
+PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
+PKG_RELEASE:= 1
+PKG_SITES:= http://www.openadk.org/distfiles/
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_22),y)
PKG_VERSION:= 2.22
PKG_MD5SUM:= a5dd5dd2d212a282cc1d4a84633e0d88
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 8a1661fb1..59b2d4366 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -143,6 +143,10 @@ ifeq ($(ADK_CPU_SPARC_V9),y)
GCC_CONFOPTS+= --with-cpu=ultrasparc
endif
+ifeq ($(ADK_CPU_ARC),y)
+GCC_CONFOPTS+= --with-cpu=arc700
+endif
+
ifeq ($(ADK_CPU_CF_5208),y)
GCC_CONFOPTS+= --enable-multilib --with-arch=cf --with-cpu=5208
endif
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 5c597c718..5acfced94 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -18,6 +18,13 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
LIBSTDCXXVER:= 19
endif
+ifeq ($(ADK_TOOLCHAIN_GCC_4_8_3_ARC),y)
+PKG_VERSION:= 4.8.3
+PKG_MD5SUM:= e2c60f5ef918be2db08df96c7d97d0c4
+PKG_SITES:= http://www.openadk.org/distfiles/
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_4_5_4),y)
PKG_VERSION:= 4.5.4
PKG_MD5SUM:= e2c60f5ef918be2db08df96c7d97d0c4