# on spot to save us from alot of hazzle.
$(top_builddir)include/bits/uClibc_config.h: $(top_builddir)extra/config/conf $(KCONFIG_CONFIG) $(top_srcdir)extra/scripts/conf-header.sh | $(top_builddir)include/bits $(top_builddir)include/config
@$(disp_gen)
- $(Q)@$< -s $(top_srcdir)extra/Configs/Config.$(ARCH)
+ $(Q)@$< -s $(top_srcdir)extra/Configs/Config.in
$(Q)$(top_srcdir)extra/scripts/conf-header.sh $(KCONFIG_CONFIG) > $@
$(Q)$(MAKE) headers-y
$(Q)$(MAKE) -C extra/config $(@F)
menuconfig: $(top_builddir)extra/config/mconf
- $(Q)$(top_builddir)extra/config/mconf extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/mconf extra/Configs/Config.in
config: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf extra/Configs/Config.in
oldconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -o extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -o extra/Configs/Config.in
silentoldconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -s extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -s extra/Configs/Config.in
randconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -r extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -r extra/Configs/Config.in
allyesconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -y extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -y extra/Configs/Config.in
$(SED) -i -e "s/^DODEBUG=.*/# DODEBUG is not set/" \
-e "s/^DOASSERTS=.*/# DOASSERTS is not set/" \
-e "s/^SUPPORT_LD_DEBUG_EARLY=.*/# SUPPORT_LD_DEBUG_EARLY is not set/" \
-e "s/^SUPPORT_LD_DEBUG=.*/# SUPPORT_LD_DEBUG is not set/" \
-e "s/^UCLIBC_MJN3_ONLY=.*/# UCLIBC_MJN3_ONLY is not set/" \
$(KCONFIG_CONFIG)
- $(Q)$(top_builddir)extra/config/conf -o extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -o extra/Configs/Config.in
allnoconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -n extra/Configs/Config.$(ARCH)
+ $(Q)$(top_builddir)extra/config/conf -n extra/Configs/Config.in
defconfig: $(top_builddir)extra/config/conf
- $(Q)$(top_builddir)extra/config/conf -d extra/Configs/Config.$(ARCH) \
+ $(Q)$(top_builddir)extra/config/conf -d extra/Configs/Config.in \
-D extra/Configs/defconfigs/$(ARCH)
include_clean:
# Select the compiler needed to build binaries for your development system
HOSTCC = gcc
BUILD_CFLAGS = -Os -Wall
-SUBARCH := $(shell uname -m | $(SED) -e s/i.86/i386/ \
+export ARCH := $(shell uname -m | $(SED) -e s/i.86/i386/ \
-e s/sun.*/sparc/ -e s/sparc.*/sparc/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/sh.*/sh/ \
-e s/s390x/s390/ -e s/parisc.*/hppa/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-e s/xtensa.*/xtensa/ )
-ARCH ?= $(SUBARCH)
-export ARCH
+
#---------------------------------------------------------
# Nothing beyond this point should ever be touched by mere
string
default "alpha"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "arm"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
select ARCH_HAS_MMU
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "avr32"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config LINKRELAX
bool "Enable linker optimizations"
default y
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "bfin"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "cris"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
bool "CRISv32"
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "e1"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
default "-mgnu-param"
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "frv"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "h8300"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "hppa"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
# see extra/config/Kconfig-language.txt
#
-
-
config TARGET_ARCH
string
default "i386"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
bool "VIA C3-2 (Nehemiah)"
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "i960"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
default "-mh -mint32 -fsigned-char"
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "ia64"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
# see extra/config/Kconfig-language.txt
#
+mainmenu "uClibc C Library Configuration"
+
+choice
+ prompt "Target Architecture"
+ help
+ The architecture of your target.
+
+config TARGET_alpha
+ bool "alpha"
+
+config TARGET_arm
+ bool "arm"
+
+config TARGET_avr32
+ bool "avr32"
+
+config TARGET_bfin
+ bool "bfin"
+
+config TARGET_cris
+ bool "cris"
+
+config TARGET_e1
+ bool "e1 (BROKEN)"
+
+config TARGET_frv
+ bool "frv (BROKEN)"
+
+config TARGET_h8300
+ bool "h8300 (BROKEN)"
+
+config TARGET_hppa
+ bool "hppa"
+
+config TARGET_i386
+ bool "i386"
+
+config TARGET_i960
+ bool "i960 (BROKEN)"
+
+config TARGET_ia64
+ bool "ia64"
+
+config TARGET_m68k
+ bool "m68k"
+
+config TARGET_microblaze
+ bool "microblaze (BROKEN)"
+
+config TARGET_mips
+ bool "mips"
+
+config TARGET_nios
+ bool "nios"
+
+config TARGET_nios2
+ bool "nios2"
+
+config TARGET_powerpc
+ bool "powerpc"
+
+config TARGET_sh
+ bool "superh"
+
+config TARGET_sh64
+ bool "sh64"
+
+config TARGET_sparc
+ bool "sparc"
+
+config TARGET_v850
+ bool "v850 (BROKEN)"
+
+config TARGET_vax
+ bool "vax"
+
+config TARGET_x86_64
+ bool "x86_64"
+
+config TARGET_xtensa
+ bool "xtensa"
+
+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_avr32
+source "extra/Configs/Config.avr32"
+endif
+
+if TARGET_bfin
+source "extra/Configs/Config.bfin"
+endif
+
+if TARGET_cris
+source "extra/Configs/Config.cris"
+endif
+
+if TARGET_e1
+source "extra/Configs/Config.e1"
+endif
+
+if TARGET_frv
+source "extra/Configs/Config.frv"
+endif
+
+if TARGET_h8300
+source "extra/Configs/Config.h8300"
+endif
+
+if TARGET_hppa
+source "extra/Configs/Config.hppa"
+endif
+
+if TARGET_i386
+source "extra/Configs/Config.i386"
+endif
+
+if TARGET_i960
+source "extra/Configs/Config.i960"
+endif
+
+if TARGET_ia64
+source "extra/Configs/Config.ia64"
+endif
+
+if TARGET_m68k
+source "extra/Configs/Config.m68k"
+endif
+
+if TARGET_nios
+source "extra/Configs/Config.nios"
+endif
+
+if TARGET_nios2
+source "extra/Configs/Config.nios2"
+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_sh64
+source "extra/Configs/Config.sh64"
+endif
+
+if TARGET_sparc
+source "extra/Configs/Config.sparc"
+endif
+
+if TARGET_v850
+source "extra/Configs/Config.v850"
+endif
+
+if TARGET_vax
+source "extra/Configs/Config.vax"
+endif
+
+if TARGET_x86_64
+source "extra/Configs/Config.x86_64"
+endif
+
+if TARGET_xtensa
+source "extra/Configs/Config.xtensa"
+endif
+
+config TARGET_SUBARCH
+ string
+ default "e500" if CONFIG_E500
+ default "classic" if CONFIG_CLASSIC
+ default "sh4" if CONFIG_SH4
+ default ""
+
+source "extra/Configs/Config.in.arch"
+
+endmenu
+
menu "General Library Settings"
config HAVE_NO_PIC
Most people will answer N.
endmenu
-
-config HAVE_DOT_CONFIG
- def_bool y
# see extra/config/Kconfig-language.txt
#
-config TARGET_SUBARCH
- string
- default "e500" if CONFIG_E500
- default "classic" if CONFIG_CLASSIC
- default "sh4" if CONFIG_SH4
- default ""
#
# Binary format
depends on !ARCH_USE_MMU
default y
+config HAVE_DOT_CONFIG
+ bool
+ default y
+++ /dev/null
-#
-# For a description of the syntax of this configuration file,
-# see extra/config/Kconfig-language.txt
-#
-
-mainmenu "uClibc C Library Configuration"
-
-choice
- prompt "Target Architecture"
- default TARGET_alpha if TARGET_ARCH = "alpha"
- default TARGET_arm if TARGET_ARCH = "arm"
- default TARGET_avr32 if TARGET_ARCH = "avr32"
- default TARGET_bfin if TARGET_ARCH = "bfin"
- default TARGET_cris if TARGET_ARCH = "cris"
- default TARGET_e1 if TARGET_ARCH = "e1"
- default TARGET_frv if TARGET_ARCH = "frv"
- default TARGET_h8300 if TARGET_ARCH = "h8300"
- default TARGET_hppa if TARGET_ARCH = "hppa"
- default TARGET_i386 if TARGET_ARCH = "i386"
- default TARGET_i960 if TARGET_ARCH = "i960"
- default TARGET_ia64 if TARGET_ARCH = "ia64"
- default TARGET_m68k if TARGET_ARCH = "m68k"
- default TARGET_microblaze if TARGET_ARCH = "microblaze"
- default TARGET_mips if TARGET_ARCH = "mips"
- default TARGET_nios if TARGET_ARCH = "nios"
- default TARGET_nios2 if TARGET_ARCH = "nios2"
- default TARGET_powerpc if TARGET_ARCH = "powerpc"
- default TARGET_sh if TARGET_ARCH = "sh"
- default TARGET_sh64 if TARGET_ARCH = "sh64"
- default TARGET_sparc if TARGET_ARCH = "sparc"
- default TARGET_v850 if TARGET_ARCH = "v850"
- default TARGET_vax if TARGET_ARCH = "vax"
- default TARGET_x86_64 if TARGET_ARCH = "x86_64"
- default TARGET_xtensa if TARGET_ARCH = "xtensa"
- help
- The architecture of your target.
-
-config TARGET_alpha
- bool "alpha"
-
-config TARGET_arm
- bool "arm"
-
-config TARGET_avr32
- bool "avr32"
-
-config TARGET_bfin
- bool "bfin"
-
-config TARGET_cris
- bool "cris"
-
-config TARGET_e1
- bool "e1 (BROKEN)"
-
-config TARGET_frv
- bool "frv (BROKEN)"
-
-config TARGET_h8300
- bool "h8300 (BROKEN)"
-
-config TARGET_hppa
- bool "hppa"
-
-config TARGET_i386
- bool "i386"
-
-config TARGET_i960
- bool "i960 (BROKEN)"
-
-config TARGET_ia64
- bool "ia64"
-
-config TARGET_m68k
- bool "m68k"
-
-config TARGET_microblaze
- bool "microblaze (BROKEN)"
-
-config TARGET_mips
- bool "mips"
-
-config TARGET_nios
- bool "nios"
-
-config TARGET_nios2
- bool "nios2"
-
-config TARGET_powerpc
- bool "powerpc"
-
-config TARGET_sh
- bool "superh"
-
-config TARGET_sh64
- bool "sh64"
-
-config TARGET_sparc
- bool "sparc"
-
-config TARGET_v850
- bool "v850 (BROKEN)"
-
-config TARGET_vax
- bool "vax"
-
-config TARGET_x86_64
- bool "x86_64"
-
-config TARGET_xtensa
- bool "xtensa"
-
-endchoice
-
string
default "m68k"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
select ARCH_BIG_ENDIAN
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "microblaze"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config CROSS
string
default "mb-"
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "mips"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
bool "MIPS64"
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "nios"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config CROSS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "nios2"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config CROSS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "powerpc"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
e500 v1 and v2 core.
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "sh"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
endchoice
config ARCH_HAS_BWD_MEMCPY
- bool
- default y
- depends on CONFIG_SH4
-
-endmenu
-source "extra/Configs/Config.in.common"
+ bool
+ default y
+ depends on CONFIG_SH4
string
default "sh64"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
bool "SH5"
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "sparc"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
bool "SPARC v9b"
endchoice
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "v850"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config CROSS
string
default "v850e-elf-"
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "vax"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config CROSS
string
default "vax-linux-uclibc-"
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "x86_64"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config FORCE_OPTIONS_FOR_ARCH
bool
default y
config ARCH_CFLAGS
string
-
-endmenu
-source "extra/Configs/Config.in.common"
string
default "xtensa"
-source "extra/Configs/Config.in.arches"
-menu "Target Architecture Features and Options"
-source "extra/Configs/Config.in.arch"
-
config ARCH_CFLAGS
string
-endmenu
-source "extra/Configs/Config.in.common"
if [ -z "$*" ] ; then
set -- $(awk \
'$0 ~ /^config TARGET_/ { sub("TARGET_",""); print $NF }' \
- extra/Configs/Config.in.arches | grep -v SUBARCH)
+ extra/Configs/Config.in | grep -v SUBARCH)
fi
pass=""
fail=""