From 58656c201cbb92609bb3af483e4a40ac35fd3b89 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Thu, 14 Feb 2013 21:59:12 +0100 Subject: Toolchain: llvm cross compiler: libcxx: give ability build it when mips32 is used Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/libc++/libc++/libcxx.kconfig | 2 ++ kconfig/libc++/libcxxrt/libcxxrt.kconfig | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'kconfig/libc++') diff --git a/kconfig/libc++/libc++/libcxx.kconfig b/kconfig/libc++/libc++/libcxx.kconfig index d9e105f..a1ee444 100644 --- a/kconfig/libc++/libc++/libcxx.kconfig +++ b/kconfig/libc++/libc++/libcxx.kconfig @@ -26,6 +26,7 @@ config EMTK_HAVE_LIBCXX bool default y + depends on EMBTK_CXXLIB_LLVM_LIBCXX select KEMBTK_UCLIBC_UCLIBC_HAS_LOCALE if EMBTK_CLIB_UCLIBC select KEMBTK_UCLIBC_UCLIBC_HAS_XLOCALE if EMBTK_CLIB_UCLIBC @@ -34,6 +35,7 @@ config EMTK_HAVE_LIBCXX # choice prompt "Version of libcxx you wish" + depends on EMTK_HAVE_LIBCXX help Version of libcxx you wish diff --git a/kconfig/libc++/libcxxrt/libcxxrt.kconfig b/kconfig/libc++/libcxxrt/libcxxrt.kconfig index 218125e..8d0232a 100644 --- a/kconfig/libc++/libcxxrt/libcxxrt.kconfig +++ b/kconfig/libc++/libcxxrt/libcxxrt.kconfig @@ -25,22 +25,22 @@ config EMTK_HAVE_LIBCXXRT bool + depends on EMBTK_CXXLIB_LLVM_LIBCXX + select EMBTK_LIBCXXRT_VERSION_4_0_10 default y # # libcxxrt version # -choice - prompt "Version of libcxxrt you wish" - help - Version of libcxxrt you wish +config EMBTK_LIBCXXRT_VERSION_4_0_10 + bool + select EMBTK_LIBCXXRT_NEED_PATCH - config EMBTK_LIBCXXRT_VERSION_GIT - bool "Use libcxxrt git repository" - help - Answer Y here if you want to build your toolchain based on - libcxxrt sources from its GIT repository. -endchoice +config EMBTK_LIBCXXRT_VERSION_GIT + bool + help + Answer Y here if you want to build your toolchain based on + libcxxrt sources from its GIT repository. # # GIT repository options @@ -67,9 +67,9 @@ config EMBTK_LIBCXXRT_REFSPEC # config EMBTK_LIBCXXRT_VERSION_STRING string + default "4.0.10" if EMBTK_LIBCXXRT_VERSION_4_0_10 default "git" if EMBTK_LIBCXXRT_VERSION_GIT - config EMBTK_LIBCXXRT_NEED_PATCH bool config EMBTK_LIBCXXRT_NEED_AUTORECONF -- cgit v1.2.3