diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-11-04 13:07:50 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-11-04 13:07:50 +0000 |
commit | f8a3fa0247f4ee4e614df73aef0f8732c8ae5ab3 (patch) | |
tree | 8a616a6013bc45c1e86b5ca6b347bd81393217e2 /extra | |
parent | fe6015e8aac57bedd05407fc956727c993070adf (diff) |
Rework the config system. Better utilize the Kconfig language
which should simplify enabling arbitrary architectures.
-Erik
Diffstat (limited to 'extra')
34 files changed, 320 insertions, 1298 deletions
diff --git a/extra/Configs/Config.alpha b/extra/Configs/Config.alpha index b8c9f2505..e810c6dd7 100644 --- a/extra/Configs/Config.alpha +++ b/extra/Configs/Config.alpha @@ -3,14 +3,15 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" - config HAVE_ELF bool + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU default y +config TARGET_ARCH + default "alpha" + config ARCH_CFLAGS string @@ -20,10 +21,3 @@ config ARCH_LDFLAGS config LIBGCC_CFLAGS string -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index c7ec716e0..291aea4a8 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -3,14 +3,13 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" - config HAVE_ELF bool default y +config TARGET_ARCH + default "arm" + config ARCH_CFLAGS string @@ -41,60 +40,54 @@ choice If you don't know what to do, choose "Generic Arm". config CONFIG_GENERIC_ARM + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Generic Arm" config CONFIG_ARM610 + select ARCH_HAS_NO_MMU + select ARCH_HAS_NO_FPU bool "Arm 610" config CONFIG_ARM710 + select ARCH_HAS_NO_MMU + select ARCH_HAS_NO_FPU bool "Arm 710" config CONFIG_ARM720T + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Arm 720T" config CONFIG_ARM920T + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Arm 920T" config CONFIG_ARM922T + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Arm 922T" config CONFIG_ARM926T + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Arm 926T" config CONFIG_ARM_SA110 + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Intel StrongArm SA-110" config CONFIG_ARM_SA1100 + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Intel StrongArm SA-1100" config CONFIG_ARM_XSCALE + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "Intel Xscale" endchoice -choice - prompt "Target Processor Endianness" - default ARCH_LITTLE_ENDIAN - help - This is the endianness you wish to build use. Choose either Big - Endian, or Little Endian. - -config ARCH_LITTLE_ENDIAN - bool "Little Endian" - -config ARCH_BIG_ENDIAN - bool "Big Endian" - -endchoice - -config ARCH_HAS_NO_MMU - bool - default y if CONFIG_ARM7TDMI - -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.arm.default b/extra/Configs/Config.arm.default deleted file mode 100644 index 0858dd557..000000000 --- a/extra/Configs/Config.arm.default +++ /dev/null @@ -1,63 +0,0 @@ -# -# Automatically generated make config: don't edit -# - -# -# Target Architecture Features and Options -# -HAVE_ELF=y -CONFIG_GENERIC_ARM=y -# CONFIG_ARM7TDMI is not set -# CONFIG_STRONGARM is not set -# CONFIG_XSCALE is not set -UCLIBC_HAS_MMU=y -UCLIBC_HAS_FLOATS=y -HAS_FPU=y -# DO_C99_MATH is not set -WARNINGS="-Wall" -KERNEL_SOURCE="/usr/src/linux" -C_SYMBOL_PREFIX="" - -# -# General Library Settings -# -DOPIC=y -HAVE_SHARED=y -BUILD_UCLIBC_LDSO=y -LDSO_LDD_SUPPORT=y -UCLIBC_HAS_THREADS=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -MALLOC_930716=y -HAS_SHADOW=y -UCLIBC_HAS_REGEX=y -UNIX98PTY_ONLY=y -ASSUME_DEVPTS=y - -# -# Networking Support -# -# UCLIBC_HAS_IPV6 is not set -# UCLIBC_HAS_RPC is not set - -# -# String and Stdio Support -# -# UCLIBC_HAS_WCHAR is not set -# USE_OLD_VFPRINTF is not set - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PATH="$(DEVEL_PREFIX)/lib" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc" -SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)" -DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr" - -# -# uClibc hacking options -# -# DODEBUG is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set diff --git a/extra/Configs/Config.cris b/extra/Configs/Config.cris index 2a2b0939a..94d703ae1 100644 --- a/extra/Configs/Config.cris +++ b/extra/Configs/Config.cris @@ -3,14 +3,13 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" - config HAVE_ELF bool default y +config TARGET_ARCH + default "cris" + config ARCH_CFLAGS string @@ -32,14 +31,9 @@ choice - CRIS Generic support for Axis' CRIS architecture. config CONFIG_CRIS + select UCLIBC_HAS_MMU + select ARCH_HAS_NO_FPU bool "CRIS" endchoice -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.cris.default b/extra/Configs/Config.cris.default deleted file mode 100644 index 21e4645e4..000000000 --- a/extra/Configs/Config.cris.default +++ /dev/null @@ -1,112 +0,0 @@ -# -# Automatically generated make config: don't edit -# - -# -# Target Architecture Features and Options -# -HAVE_ELF=y -CONFIG_CRIS=y -UCLIBC_HAS_MMU=y -UCLIBC_HAS_FLOATS=y -HAS_FPU=y -# DO_C99_MATH is not set -WARNINGS="-Wall" -KERNEL_SOURCE="$(AXIS_KERNEL_DIR)" -C_SYMBOL_PREFIX="" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -DOPIC=y -HAVE_SHARED=y -BUILD_UCLIBC_LDSO=y -# LDSO_LDD_SUPPORT is not set -UCLIBC_CTOR_DTOR=y -# UCLIBC_PROFILING is not set -UCLIBC_HAS_THREADS=y -# PTHREADS_DEBUG_SUPPORT is not set -UCLIBC_HAS_LFS=y -# MALLOC is not set -MALLOC_930716=y -# MALLOC_GLIBC_COMPAT is not set -# UCLIBC_DYNAMIC_ATEXIT is not set -HAS_SHADOW=y -UNIX98PTY_ONLY=y -ASSUME_DEVPTS=y -# UCLIBC_HAS_TM_EXTENSIONS is not set -UCLIBC_HAS_TZ_CACHING=y -UCLIBC_HAS_TZ_FILE=y -UCLIBC_HAS_TZ_FILE_READ_MANY=y -UCLIBC_TZ_FILE_PATH="/etc/TZ" - -# -# Networking Support -# -UCLIBC_HAS_IPV6=y -UCLIBC_HAS_RPC=y -# UCLIBC_HAS_FULL_RPC is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_CTYPE_TABLES=y -UCLIBC_HAS_CTYPE_SIGNED=y -# UCLIBC_HAS_CTYPE_UNSAFE is not set -UCLIBC_HAS_CTYPE_CHECKED=y -# UCLIBC_HAS_CTYPE_ENFORCED is not set -# UCLIBC_HAS_WCHAR is not set -# UCLIBC_HAS_LOCALE is not set -# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set -# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set -# USE_OLD_VFPRINTF is not set -UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 -# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set -# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set -# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set -# UCLIBC_HAS_STDIO_BUFSIZ_4096 is not set -UCLIBC_HAS_STDIO_BUFSIZ_8192=y -UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set -# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set -UCLIBC_HAS_STDIO_GETC_MACRO=y -UCLIBC_HAS_STDIO_PUTC_MACRO=y -UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y -# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set -# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set -# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set -UCLIBC_HAS_PRINTF_M_SPEC=y -UCLIBC_HAS_ERRNO_MESSAGES=y -UCLIBC_HAS_SYS_ERRLIST=y -UCLIBC_HAS_SIGNUM_MESSAGES=y -UCLIBC_HAS_SYS_SIGLIST=y -UCLIBC_HAS_GNU_GETOPT=y - -# -# Big and Tall -# -UCLIBC_HAS_REGEX=y -# UCLIBC_HAS_WORDEXP is not set -# UCLIBC_HAS_FTW is not set -UCLIBC_HAS_GLOB=y - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PATH="/lib" -DEVEL_PREFIX="$(AXIS_TOP_DIR)/target/cris-axis-linux-gnuuclibc" -SYSTEM_DEVEL_PREFIX="$(TOPDIR)" -DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/include" - -# -# uClibc development/debugging options -# -# DODEBUG is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set -# UCLIBC_MJN3_ONLY is not set diff --git a/extra/Configs/Config.e1 b/extra/Configs/Config.e1 index ddb0b50b7..06b5a9206 100644 --- a/extra/Configs/Config.e1 +++ b/extra/Configs/Config.e1 @@ -4,46 +4,27 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" +config HAVE_ELF + select ARCH_HAS_NO_MMU + select ARCH_HAS_NO_FPU + select ARCH_HAS_C_SYMBOL_PREFIX + bool + default n -menu "Target Architecture Features and Options" +config TARGET_ARCH + default "e1" config ARCH_E1 bool default y -config HAVE_ELF - bool - default n - config ARCH_CFLAGS string default "-I$(KERNEL_SOURCE)/include -mgnu-param" -# --bitwise-or - config ARCH_LDFLAGS string config LIBGCC_CFLAGS string -config HAVE_ELF - bool - default n - -config ARCH_HAS_NO_MMU - bool - default y - -config ARCH_HAS_C_SYMBOL_PREFIX - bool - default y - -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.e1.default b/extra/Configs/Config.e1.default deleted file mode 100644 index 44621262e..000000000 --- a/extra/Configs/Config.e1.default +++ /dev/null @@ -1,64 +0,0 @@ -# -# Automatically generated make config: don't edit -# - -# -# Target Architecture Features and Options -# -# HAVE_ELF is not set -ARCH_CFLAGS="-I$(KERNEL_SOURCE)/include -mgnu-param" -ARCH_HAS_NO_MMU=y -ARCH_HAS_C_SYMBOL_PREFIX=y -UCLIBC_HAS_FLOATS=y -# HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -# DO_C99_MATH is not set -WARNINGS="-Wall" -KERNEL_SOURCE="/usr/src/linux" -UCLIBC_UCLINUX_BROKEN_MUNMAP=y -EXCLUDE_BRK=y -C_SYMBOL_PREFIX="_" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# DOPIC is not set -# UCLIBC_CTOR_DTOR is not set -# UCLIBC_PROFILING is not set -# UCLIBC_HAS_THREADS is not set -# UCLIBC_HAS_LFS is not set -MALLOC=y -# MALLOC_930716 is not set -UCLIBC_DYNAMIC_ATEXIT=y -HAS_SHADOW=y -UCLIBC_HAS_REGEX=y -UNIX98PTY_ONLY=y -# ASSUME_DEVPTS is not set - -# -# Networking Support -# -# UCLIBC_HAS_IPV6 is not set -# UCLIBC_HAS_RPC is not set - -# -# String and Stdio Support -# -UCLIBC_HAS_WCHAR=y -# UCLIBC_HAS_LOCALE is not set -# USE_OLD_VFPRINTF is not set - -# -# Library Installation Options -# -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc" -SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)" -DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr" - -# -# uClibc hacking options -# -DODEBUG=y -# DOASSERTS is not set -# UCLIBC_MALLOC_DEBUGGING is not set diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300 index 9bce0f063..6e869c0a7 100644 --- a/extra/Configs/Config.h8300 +++ b/extra/Configs/Config.h8300 @@ -3,9 +3,15 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" +config HAVE_ELF + bool + select ARCH_HAS_NO_MMU + select ARCH_HAS_NO_FPU + select ARCH_HAS_C_SYMBOL_PREFIX + default y -menu "Target Architecture Features and Options" +config TARGET_ARCH + default "h8300" choice prompt "Target Processor" @@ -21,10 +27,6 @@ config CONFIG_H8S endchoice -config HAVE_ELF - bool - default y - config ARCH_CFLAGS string @@ -34,18 +36,3 @@ config ARCH_LDFLAGS config LIBGCC_CFLAGS string -config ARCH_HAS_NO_MMU - bool - default y - -config ARCH_HAS_C_SYMBOL_PREFIX - bool - default y - -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.h8300.default b/extra/Configs/Config.h8300.default deleted file mode 100644 index bb1787809..000000000 --- a/extra/Configs/Config.h8300.default +++ /dev/null @@ -1,64 +0,0 @@ -# -# Automatically generated make config: don't edit -# - -# -# Target Architecture Features and Options -# -# CONFIG_H8300H is not set -CONFIG_H8S=y -HAVE_ELF=y -ARCH_HAS_NO_MMU=y -ARCH_HAS_C_SYMBOL_PREFIX=y -UCLIBC_HAS_FLOATS=y -# HAS_FPU is not set -UCLIBC_HAS_SOFT_FLOAT=y -DO_C99_MATH=y -WARNINGS="-Wall" -KERNEL_SOURCE="$(ROOTDIR)/$(LINUXDIR)/." -UCLIBC_UCLINUX_BROKEN_MUNMAP=y -EXCLUDE_BRK=y -C_SYMBOL_PREFIX="_" -HAVE_DOT_CONFIG=y - -# -# General Library Settings -# -# DOPIC is not set -UCLIBC_CTOR_DTOR=y -# UCLIBC_HAS_THREADS is not set -UCLIBC_HAS_LFS=y -MALLOC=y -# MALLOC_930716 is not set -UCLIBC_DYNAMIC_ATEXIT=y -# HAS_SHADOW is not set -UCLIBC_HAS_REGEX=y -UNIX98PTY_ONLY=y -ASSUME_DEVPTS=y - -# -# Networking Support -# -# UCLIBC_HAS_IPV6 is not set -UCLIBC_HAS_RPC=y -UCLIBC_HAS_FULL_RPC=y - -# -# String and Stdio Support -# -# UCLIBC_HAS_WCHAR is not set -# USE_OLD_VFPRINTF is not set - -# -# Library Installation Options -# -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc" -SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)" -DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr" - -# -# uClibc hacking options -# -# DODEBUG is not set -# DOASSERTS is not set -# UCLIBC_MALLOC_DEBUGGING is not set diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386 index d208fa95b..79e433a0f 100644 --- a/extra/Configs/Config.i386 +++ b/extra/Configs/Config.i386 @@ -3,14 +3,17 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" - config HAVE_ELF bool + select HAS_FPU + select ARCH_LITTLE_ENDIAN + select UCLIBC_HAS_MMU default y +config TARGET_ARCH + string + default "i386" + config ARCH_CFLAGS string @@ -21,7 +24,7 @@ config LIBGCC_CFLAGS string choice - prompt "Target Processor Type" + prompt "Target x86 Processor Family" default CONFIG_GENERIC_386 help This is the processor type of your CPU. This information is used for @@ -58,6 +61,7 @@ config CONFIG_GENERIC_386 bool "Generic 386" config CONFIG_386 + select ARCH_HAS_NO_FPU bool "386" config CONFIG_486 @@ -98,9 +102,3 @@ config CONFIG_CYRIXIII endchoice -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - diff --git a/extra/Configs/Config.i386.default b/extra/Configs/Config.i386.default deleted file mode 100644 index 87adee429..000000000 --- a/extra/Configs/Config.i386.default +++ /dev/null @@ -1,73 +0,0 @@ -# -# Automatically generated make config: don't edit -# - -# -# Target Architecture Features and Options -# -HAVE_ELF=y -CONFIG_GENERIC_386=y -# CONFIG_386 is not set -# CONFIG_486 is not set -# CONFIG_586 is not set -# CONFIG_586MMX is not set -# CONFIG_686 is not set -# CONFIG_PENTIUMIII is not set -# CONFIG_PENTIUM4 is not set -# CONFIG_K6 is not set -# CONFIG_K7 is not set -# CONFIG_CRUSOE is not set -# CONFIG_WINCHIPC6 is not set -# CONFIG_WINCHIP2 is not set -# CONFIG_CYRIXIII is not set -UCLIBC_HAS_MMU=y -UCLIBC_HAS_FLOATS=y -HAS_FPU=y -# DO_C99_MATH is not set -WARNINGS="-Wall" -KERNEL_SOURCE="/usr/src/linux" -C_SYMBOL_PREFIX="" - -# -# General Library Settings -# -DOPIC=y -HAVE_SHARED=y -BUILD_UCLIBC_LDSO=y -LDSO_LDD_SUPPORT=y -UCLIBC_HAS_THREADS=y -UCLIBC_HAS_LFS=y -# MALLOC is not set -MALLOC_930716=y -HAS_SHADOW=y -UCLIBC_HAS_REGEX=y -UNIX98PTY_ONLY=y -ASSUME_DEVPTS=y - -# -# Networking Support -# -# UCLIBC_HAS_IPV6 is not set -# UCLIBC_HAS_RPC is not set - -# -# String and Stdio Support -# -# UCLIBC_HAS_WCHAR is not set -# USE_OLD_VFPRINTF is not set - -# -# Library Installation Options -# -SHARED_LIB_LOADER_PATH="$(DEVEL_PREFIX)/lib" -DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc" -SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)" -DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr" - -# -# uClibc hacking options -# -# DODEBUG is not set -# DOASSERTS is not set -# SUPPORT_LD_DEBUG is not set -# SUPPORT_LD_DEBUG_EARLY is not set diff --git a/extra/Configs/Config.i960 b/extra/Configs/Config.i960 index cf3938ad8..3c30a1c85 100644 --- a/extra/Configs/Config.i960 +++ b/extra/Configs/Config.i960 @@ -3,12 +3,13 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" +config TARGET_ARCH + default "i960" config HAVE_ELF bool + select ARCH_HAS_NO_MMU + select ARCH_HAS_NO_FPU default n config ARCH_CFLAGS @@ -21,18 +22,7 @@ config ARCH_LDFLAGS config LIBGCC_CFLAGS string -config ARCH_HAS_NO_MMU - bool - default y - config ARCH_HAS_C_SYMBOL_PREFIX bool default y -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" - - diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 82e633839..0dd73787e 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -2,13 +2,130 @@ # For a description of the syntax of this configuration file, # see extra/config/Kconfig-language.txt # -config HAVE_DOT_CONFIG - bool - default y +mainmenu "uClibc C Library Configuration" + + +choice + prompt "Target Architecture" + default TARGET_I386 + help + Stuff + +config TARGET_ALPHA + bool "alpha" + +config TARGET_ARM + bool "arm" + +config TARGET_CRIS + bool "cris" + +config TARGET_E1 + bool "e1" + +config TARGET_H8300 + bool "h8300" + +config TARGET_I386 + bool "i386" + +config TARGET_I960 + bool "i960" + +config TARGET_M68K + bool "m68k" + +config TARGET_MICROBLAZE + bool "microblaze" + +config TARGET_MIPS + bool "mips" + +config TARGET_POWERPC + bool "powerpc" + +config TARGET_SH + bool "SuperH" + +config TARGET_SPARC + bool "sparc" + +config TARGET_V850 + bool "v850" + +endchoice + + +menu "Target Architecture Features and Options" + +if TARGET_ALPHA +source "extra/Configs/Config.alpha" +endif +if TARGET_ARM +source "extra/Configs/Config.arm" +endif + +if TARGET_CRIS +source "extra/Configs/Config.cris" +endif + +if TARGET_E1 +source "extra/Configs/Config.e1" +endif + +if TARGET_H8300 +source "extra/Configs/Config.h8300" +endif + +if TARGET_I386 +source "extra/Configs/Config.i386" +endif + +if TARGET_I960 +source "extra/Configs/Config.i960" +endif + +if TARGET_M68K +source "extra/Configs/Config.m68k" +endif + +if TARGET_MICROBLAZE +source "extra/Configs/Config.microblaze" +endif + +if TARGET_MIPS +source "extra/Configs/Config.mips" +endif + +if TARGET_POWERPC +source "extra/Configs/Config.powerpc" +endif + +if TARGET_SH +source "extra/Configs/Config.sh" +endif + +if TARGET_SPARC +source "extra/Configs/Config.sparc" +endif + +if TARGET_V850 +source "extra/Configs/Config.v850" +endif + + + +source "extra/Configs/Config.in.arch" + +endmenu menu "General Library Settings" +config HAVE_NO_PIC + bool + default n + config DOPIC bool "Generate Position Independent Code (PIC)" default y @@ -818,7 +935,7 @@ endmenu menu "Library Installation Options" -config SHARED_LIB_LOADER_PATH +config SHARED_LIB_LOADER_PREFIX string "Shared library loader path" depends on BUILD_UCLIBC_LDSO default "$(DEVEL_PREFIX)/lib" @@ -827,6 +944,9 @@ config SHARED_LIB_LOADER_PATH shared library will be invoked. This value will be compiled into every binary compiled with uClibc. + For a typical target system this should be set to "/lib", such that + 'make install' will install /lib/ld-uClibc.so.0. + BIG FAT WARNING: If you do not have a shared library loader with the correct name sitting in the directory this points to, your binaries will not @@ -848,20 +968,25 @@ config SYSTEM_LDSO config RUNTIME_PREFIX string "uClibc runtime library directory" - default "/usr/$(TARGET_ARCH)-linux-uclibc" + default "/usr/$(TARGET_ARCH)-linux-uclibc/" help RUNTIME_PREFIX is the directory into which the uClibc runtime libraries will be installed. The result will look something like the following: $(RUNTIME_PREFIX)/ lib/ <contains all runtime libraries> + bin/ldd <the ldd utility program> + sbin/ldconfig <the ldconfig utility program> This value is used by the 'make install' Makefile target. Since this - directory is compiled into the uclibc cross compiler wrapper, you - have to recompile uClibc if you change this value... + directory is compiled into the shared library loader, you will need to + recompile uClibc if you change this value... + + For a typical target system this should be set to "/", such that + 'make install' will install /lib/libuClibc-<VERSION>.so config DEVEL_PREFIX string "uClibc development environment directory" - default "/usr/$(TARGET_ARCH)-linux-uclibc" + default "/usr/$(TARGET_ARCH)-linux-uclibc/usr/" help DEVEL_PREFIX is the directory into which the uClibc development environment will be installed. The result will look something @@ -869,29 +994,11 @@ config DEVEL_PREFIX $(DEVEL_PREFIX)/ lib/ <contains static libs> include/ <Where all the header files go> - This value is used by the 'make install' Makefile target. Since this - directory is compiled into the uclibc cross compiler wrapper, you - have to recompile uClibc if you change this value... - -config SYSTEM_DEVEL_PREFIX - string "uClibc development environment system directory" - default "$(DEVEL_PREFIX)" - help - SYSTEM_DEVEL_PREFIX is the directory prefix used when installing - bin/arch-uclibc-gcc, bin/arch-uclibc-ld, etc. This is |