1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:14:05 +02:00

add a heavily cleaned up version of ubicom32 toolchain support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17346 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-08-21 22:31:47 +00:00
parent 1a4a2b5ae7
commit 64958baf0e
11 changed files with 77539 additions and 0 deletions

2
scripts/config.sub vendored
View File

@ -284,6 +284,7 @@ case $basic_machine in
| spu | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
| ubicom32 \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k)
@ -367,6 +368,7 @@ case $basic_machine in
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
| tron-* \
| v850-* | v850e-* | vax-* \
| ubicom32-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
| xstormy16-* | xtensa-* \

View File

@ -124,6 +124,10 @@ config sparc
config x86_64
bool
config ubicom32
select BIG_ENDIAN
bool
config ARCH
string
default "arm" if arm
@ -144,4 +148,5 @@ config ARCH
default "sh4eb" if sh4eb
default "sparc" if sparc
default "x86_64" if x86_64
default "ubicom32" if ubicom32

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@ choice
default GCC_VERSION_4_3_3 if powerpc64
default GCC_VERSION_4_3_3 if TARGET_etrax
default GCC_VERSION_4_3_3 if TARGET_coldfire
default GCC_VERSION_4_4_0 if ubicom32
default GCC_VERSION_4_1_2
help
Select the version of gcc you wish to use.

View File

@ -55,4 +55,7 @@ if !TOOLCHAINOPTS
default y if powerpc64
default y if TARGET_etrax
default y if TARGET_coldfire
config GCC_VERSION_4_4_0
default y if ubicom32
endif

File diff suppressed because it is too large Load Diff

View File

@ -115,6 +115,15 @@ else
endef
endif
define Host/Prepare/post/ubicom32
$(CP) \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/elf.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/user.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page.h \
$(HOST_BUILD_DIR)/arch/ubicom32/include/asm/page_offset.h \
$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/
endef
define Host/Prepare/post/mips
$(call Host/Prepare/lzma)
endef

File diff suppressed because it is too large Load Diff

View File

@ -64,6 +64,7 @@ TARGET_SUBARCH=""
# TARGET_sh is not set
# TARGET_sh64 is not set
# TARGET_sparc is not set
# TARGET_ubicom32 is not set
# TARGET_v850 is not set
# TARGET_vax is not set
# TARGET_x86_64 is not set

View File

@ -0,0 +1,35 @@
ARCH_BIG_ENDIAN=y
ARCH_HAS_NO_MMU=y
COMPAT_ATEXIT=y
# CONFIG_UC_UBICOM32_V3 is not set
CONFIG_UC_UBICOM32_V4=y
# DOSTRIP is not set
EXCLUDE_BRK=y
FORCE_SHAREABLE_TEXT_SEGMENTS=y
LDSO_PRELOAD_FILE_SUPPORT=y
MALLOC=y
# MALLOC_STANDARD is not set
PTHREADS_DEBUG_SUPPORT=y
SUPPORT_LD_DEBUG=y
TARGET_ARCH="ubicom32"
TARGET_ubicom32=y
# UCLIBC_FORMAT_ELF is not set
UCLIBC_FORMAT_FDPIC_ELF=y
# UCLIBC_FORMAT_FLAT is not set
# UCLIBC_FORMAT_FLAT_SEP_DATA is not set
# UCLIBC_FORMAT_SHARED_FLAT is not set
UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
UCLIBC_HAS_FPU=y
# UCLIBC_HAS_GETPT is not set
UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL=y
UCLIBC_HAS_PROFILING=y
UCLIBC_HAS_REENTRANT_RPC=y
UCLIBC_HAS_STUBS=y
UCLIBC_HAS_XATTR=y
UCLIBC_NTP_LEGACY=y
UCLIBC_STATIC_LDCONFIG=y
UCLIBC_SV4_DEPRECATED=y
UCLIBC_UCLINUX_BROKEN_MUNMAP=y
UNIX98PTY_ONLY=y

File diff suppressed because it is too large Load Diff