c6x: Remove multilib requirement

Restore tuple config check
     Add sample configuration

Signed-off-by: Dan Tejada <dan.tejada@cantada.com>
This commit is contained in:
Dan Tejada 2020-11-02 16:21:26 -05:00
parent d532f02542
commit 3a3e645245
4 changed files with 18 additions and 25 deletions

View File

@ -7,31 +7,9 @@
## select ARCH_DEFAULT_LE
## select ARCH_SUPPORTS_FLAT_FORMAT
## select ARCH_SUPPORTS_WITH_CPU
## select TARGET_SKIP_CONFIG_SUB
## select ARCH_REQUIRES_MULTILIB
## depends on EXPERIMENTAL
##
## help The TI C6x (TMS320C6000) architecture
## help https://www.ti.com/processors/digital-signal-processors
## help For linux, kernel must be 3.7 or later (or custom)
#choice
# prompt "Target Processor Type"
# default GENERIC_C6X
#
#config GENERIC_C6X
# bool
# prompt "Generic C6X DSP"
#
#config TMS320C64X
# bool
# prompt "TMS320C64X"
#
#config TMS320C64XPLUS
# bool
# prompt "TMS320C64X+"
#
#config TMS320C674X
# bool
# prompt "TMS320C674X or TMS320C66XX"
#
#endchoice

View File

@ -0,0 +1,14 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_ARCH_C6X=y
CT_OMIT_TARGET_VENDOR=y
CT_KERNEL_LINUX=y
CT_MULTILIB=y
CT_LIBC_UCLIBC=y
CT_THREADS="linuxthreads"
CT_UCLIBC_NG_DEVEL_VCS_git=y
CT_UCLIBC_NG_DEVEL_URL="https://github.com/DspHack/uclibc-ng.git"
CT_ARCH_BINFMT_FDPIC=y
CT_CC_LANG_CXX=y
CT_ARCH_ENDIAN="little"

View File

@ -0,0 +1,3 @@
reporter_name="Dan Tejada <dan.tejada@cantada.com>"
reporter_url="https://www.cantada.com/"
reporter_comment="Tested with uclibc and linux kernel from http://linux-c6x.org"

View File

@ -68,8 +68,6 @@ CT_DoArchUClibcCflags() {
*) CT_Abort "Unsupported architecture: ${f#-march=}";;
esac
;;
-mlittle-endian)
;;
-mbig-endian)
CT_KconfigEnableOption "ARCH_BIG_ENDIAN" "${cfg}"
CT_KconfigEnableOption "ARCH_WANTS_BIG_ENDIAN" "${cfg}"