add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
This commit is contained in:
parent
2015ef16b8
commit
aee9d6c31c
11 changed files with 77539 additions and 0 deletions
2
scripts/config.sub
vendored
2
scripts/config.sub
vendored
|
@ -284,6 +284,7 @@ case $basic_machine in
|
||||||
| spu | strongarm \
|
| spu | strongarm \
|
||||||
| tahoe | thumb | tic4x | tic80 | tron \
|
| tahoe | thumb | tic4x | tic80 | tron \
|
||||||
| v850 | v850e \
|
| v850 | v850e \
|
||||||
|
| ubicom32 \
|
||||||
| we32k \
|
| we32k \
|
||||||
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||||
| z8k)
|
| z8k)
|
||||||
|
@ -367,6 +368,7 @@ case $basic_machine in
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||||
| tron-* \
|
| tron-* \
|
||||||
| v850-* | v850e-* | vax-* \
|
| v850-* | v850e-* | vax-* \
|
||||||
|
| ubicom32-* \
|
||||||
| we32k-* \
|
| we32k-* \
|
||||||
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||||
| xstormy16-* | xtensa-* \
|
| xstormy16-* | xtensa-* \
|
||||||
|
|
|
@ -124,6 +124,10 @@ config sparc
|
||||||
config x86_64
|
config x86_64
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config ubicom32
|
||||||
|
select BIG_ENDIAN
|
||||||
|
bool
|
||||||
|
|
||||||
config ARCH
|
config ARCH
|
||||||
string
|
string
|
||||||
default "arm" if arm
|
default "arm" if arm
|
||||||
|
@ -144,4 +148,5 @@ config ARCH
|
||||||
default "sh4eb" if sh4eb
|
default "sh4eb" if sh4eb
|
||||||
default "sparc" if sparc
|
default "sparc" if sparc
|
||||||
default "x86_64" if x86_64
|
default "x86_64" if x86_64
|
||||||
|
default "ubicom32" if ubicom32
|
||||||
|
|
||||||
|
|
48967
toolchain/binutils/patches/2.19.1/600-ubicom32_binutils_20090818.patch
Normal file
48967
toolchain/binutils/patches/2.19.1/600-ubicom32_binutils_20090818.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -9,6 +9,7 @@ choice
|
||||||
default GCC_VERSION_4_3_3 if powerpc64
|
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_etrax
|
||||||
default GCC_VERSION_4_3_3 if TARGET_coldfire
|
default GCC_VERSION_4_3_3 if TARGET_coldfire
|
||||||
|
default GCC_VERSION_4_4_0 if ubicom32
|
||||||
default GCC_VERSION_4_1_2
|
default GCC_VERSION_4_1_2
|
||||||
help
|
help
|
||||||
Select the version of gcc you wish to use.
|
Select the version of gcc you wish to use.
|
||||||
|
|
|
@ -55,4 +55,7 @@ if !TOOLCHAINOPTS
|
||||||
default y if powerpc64
|
default y if powerpc64
|
||||||
default y if TARGET_etrax
|
default y if TARGET_etrax
|
||||||
default y if TARGET_coldfire
|
default y if TARGET_coldfire
|
||||||
|
|
||||||
|
config GCC_VERSION_4_4_0
|
||||||
|
default y if ubicom32
|
||||||
endif
|
endif
|
||||||
|
|
9386
toolchain/gcc/patches/4.4.0/600-ubicom_support.patch
Normal file
9386
toolchain/gcc/patches/4.4.0/600-ubicom_support.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -115,6 +115,15 @@ else
|
||||||
endef
|
endef
|
||||||
endif
|
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
|
define Host/Prepare/post/mips
|
||||||
$(call Host/Prepare/lzma)
|
$(call Host/Prepare/lzma)
|
||||||
endef
|
endef
|
||||||
|
|
14723
toolchain/kernel-headers/patches-2.6.28/100-ubicom_headers.patch
Normal file
14723
toolchain/kernel-headers/patches-2.6.28/100-ubicom_headers.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -64,6 +64,7 @@ TARGET_SUBARCH=""
|
||||||
# TARGET_sh is not set
|
# TARGET_sh is not set
|
||||||
# TARGET_sh64 is not set
|
# TARGET_sh64 is not set
|
||||||
# TARGET_sparc is not set
|
# TARGET_sparc is not set
|
||||||
|
# TARGET_ubicom32 is not set
|
||||||
# TARGET_v850 is not set
|
# TARGET_v850 is not set
|
||||||
# TARGET_vax is not set
|
# TARGET_vax is not set
|
||||||
# TARGET_x86_64 is not set
|
# TARGET_x86_64 is not set
|
||||||
|
|
35
toolchain/uClibc/config-0.9.30.1/ubicom32
Normal file
35
toolchain/uClibc/config-0.9.30.1/ubicom32
Normal 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
|
4407
toolchain/uClibc/patches-0.9.30.1/600-ubicom32-uClibc.patch
Normal file
4407
toolchain/uClibc/patches-0.9.30.1/600-ubicom32-uClibc.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue