Fix the references to old config variables

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-05-29 22:32:38 -07:00
parent 57426168ad
commit 567277099a
505 changed files with 813 additions and 993 deletions

View File

@ -148,7 +148,7 @@ distclean: clean
$(call __silent_rm,Makefile kconfig/Makefile config/configure.in) $(call __silent_rm,Makefile kconfig/Makefile config/configure.in)
mrproper: distclean mrproper: distclean
$(call __silent_rmdir,autom4te.cache config/gen) $(call __silent_rmdir,autom4te.cache config/gen config/versions)
$(call __silent_rm,config.log config.status configure) $(call __silent_rm,config.log config.status configure)
uninstall: real-uninstall uninstall: real-uninstall

9
TODO
View File

@ -1,3 +1,10 @@
TBD
packages todo
[ ] mention custom glibc addons are no longer handled (even though they never fully were, ct-ng would be unable to fetch them unless they were secretly placed into the download area)
[ ] mention incompatibility of sample options
[ ] version-locked packages
[ ] make glibc-ports package for glibc <2.17 (it has its own repo)
A (slightly) ordered set of tasks for crosstool-NG. Written in a cryptic language; contact me if you want to help with any of these :) A (slightly) ordered set of tasks for crosstool-NG. Written in a cryptic language; contact me if you want to help with any of these :)
-- Alexey Neyman (@stilor) -- Alexey Neyman (@stilor)
@ -6,9 +13,11 @@ A (slightly) ordered set of tasks for crosstool-NG. Written in a cryptic languag
[ ] linux [ ] linux
[ ] mingw-w64 [ ] mingw-w64
[ ] newlib [ ] newlib
[ ] gcc-linaro
[ ] clean up GDB versions - no X.Y if X.Y.1 is present [ ] clean up GDB versions - no X.Y if X.Y.1 is present
[ ] Check other packages, leave only the most recent on each branch [ ] Check other packages, leave only the most recent on each branch
[ ] arm_neon.h - offer as a companion "library" for the target [ ] arm_neon.h - offer as a companion "library" for the target
[ ] gdbinit (installed if CT_GDB_INSTALL_GDBINIT is set) is not relocatable, contains absolute paths
[ ] FreeBSD [ ] FreeBSD
[ ] Use 'cc' rather than 'gcc' on the host [ ] Use 'cc' rather than 'gcc' on the host
[ ] Detect in configure what the default value is [ ] Detect in configure what the default value is

View File

@ -33,9 +33,6 @@ config ARCH_BINFMT_FDPIC
endchoice endchoice
config BINUTILS
string
source "config/gen/binutils.in" source "config/gen/binutils.in"
source "config/gen/binutils.in.2" source "config/gen/binutils.in.2"

View File

@ -2,13 +2,6 @@
menu "C compiler" menu "C compiler"
config CC
string
default "gcc"
config CC_VERSION
string
config CC_CORE_PASSES_NEEDED config CC_CORE_PASSES_NEEDED
bool bool
select CC_CORE_PASS_1_NEEDED select CC_CORE_PASS_1_NEEDED
@ -20,8 +13,6 @@ config CC_CORE_PASS_1_NEEDED
config CC_CORE_PASS_2_NEEDED config CC_CORE_PASS_2_NEEDED
bool bool
source "config/gen/cc.in"
config CC_SUPPORT_CXX config CC_SUPPORT_CXX
bool bool
@ -43,6 +34,8 @@ config CC_SUPPORT_OBJCXX
config CC_SUPPORT_GOLANG config CC_SUPPORT_GOLANG
bool bool
source "config/gen/cc.in"
comment "Additional supported languages:" comment "Additional supported languages:"
config CC_LANG_CXX config CC_LANG_CXX

View File

@ -7,6 +7,11 @@ config CC_GCC_ENABLE_PLUGINS
depends on ! STATIC_TOOLCHAIN depends on ! STATIC_TOOLCHAIN
default y default y
# Affects the build of musl
config GCC_BUG_61144
bool
default y if GCC_4_9_or_later && !GCC_4_9_2_or_later
# If binutils installs gold, enable support for gold in gcc # If binutils installs gold, enable support for gold in gcc
config CC_GCC_GOLD config CC_GCC_GOLD
bool bool
@ -133,7 +138,7 @@ comment "Optimisation features"
config CC_GCC_USE_GRAPHITE config CC_GCC_USE_GRAPHITE
bool "Enable GRAPHITE loop optimisations" bool "Enable GRAPHITE loop optimisations"
default y default y
select CLOOG_NEEDED if !CC_GCC_5_or_later select CLOOG_NEEDED if !GCC_5_or_later
select ISL_NEEDED select ISL_NEEDED
help help
Enable the GRAPHITE loop optimsations. Enable the GRAPHITE loop optimsations.

View File

@ -18,12 +18,6 @@ config WINDOWS
config KERNEL_SUPPORTS_SHARED_LIBS config KERNEL_SUPPORTS_SHARED_LIBS
bool bool
config KERNEL
string
config KERNEL_VERSION
string
source "config/gen/kernel.in" source "config/gen/kernel.in"
comment "Common kernel options" comment "Common kernel options"

View File

@ -2,23 +2,6 @@
menu "C-library" menu "C-library"
config LIBC
string
config LIBC_VERSION
string
help
Enter the date of the snapshot you want to use in the form: YYYYMMDD
where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
day in the month.
Please note:
- glibc has snapshots done every monday, and only the last ten are kept.
- uClibc has daily snapshots, and only the last 30-or-so are kept.
So if you want to be able to re-build your toolchain later, you will
have to save your C library tarball by yourself.
source "config/gen/libc.in" source "config/gen/libc.in"
config LIBC_SUPPORT_THREADS_ANY config LIBC_SUPPORT_THREADS_ANY

View File

@ -3,7 +3,7 @@
## depends on ! WINDOWS && ! BARE_METAL ## depends on ! WINDOWS && ! BARE_METAL
## depends on ARCH_arm || ARCH_mips || ARCH_x86 ## depends on ARCH_arm || ARCH_mips || ARCH_x86
## depends on EXPERIMENTAL ## depends on EXPERIMENTAL
## depends on CC_GCC_6_or_later ## depends on GCC_6_or_later
## ##
## select LIBC_SUPPORT_THREADS_POSIX ## select LIBC_SUPPORT_THREADS_POSIX
## ##

View File

@ -1,9 +1,13 @@
# glibc options # glibc options
# TBD move all the remaining parts into glibc.in.2 and move the sourcing of versions
# into the auto-generated choice/menus?
## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
## ##
## select LIBC_SUPPORT_THREADS_NATIVE ## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_PASSES_NEEDED ## select CC_CORE_PASSES_NEEDED
# TBD: select GETTEXT for build only, not for host
## select GETTEXT_NEEDED ## select GETTEXT_NEEDED
## select BINUTILS_FORCE_LD_BFD_DEFAULT ## select BINUTILS_FORCE_LD_BFD_DEFAULT
## ##
@ -16,39 +20,6 @@
# are still using quite ancient versions. Please do not retire versions # are still using quite ancient versions. Please do not retire versions
# (including versions in between) until the EOL dates indicated in version.desc. # (including versions in between) until the EOL dates indicated in version.desc.
source "config/versions/glibc.in" source "config/versions/glibc.in"
if GLIBC_USE_PORTS_EXTERNAL
config THREADS source "config/versions/glibc-ports.in"
default "nptl" endif
# SPARCv8 support retired in 2.23
config GLIBC_NO_SPARC_V8
def_bool y
depends on GLIBC_2_23_or_later
# With 2.20, NPTL is in default glibc
config GLIBC_HAS_NPTL_ADDON
def_bool y
depends on !GLIBC_2_20_or_later
# With 2.20, all architectures are in main tree
config GLIBC_HAS_PORTS_ADDON
def_bool y
depends on !GLIBC_2_20_or_later
# With 2.17 and later, 'ports' addon is shipped in glibc tarball
config GLIBC_PORTS_EXTERNAL
def_bool y
depends on !GLIBC_2_17_or_later
# Some architectures require the ports addon. List them one by one here:
# This list must be carefully in sync with the architectures names
# we can find in config/arch/*
config GLIBC_NEEDS_PORTS
def_bool y
depends on ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc
# Ports are no longer an add-on starting with 2.20
config GLIBC_USE_PORTS
def_bool y
depends on GLIBC_NEEDS_PORTS && GLIBC_HAS_PORTS_ADDON

View File

@ -1,6 +1,70 @@
# This file contains the common configuration options # This file contains the common configuration options
# that apply to both glibc. # that apply to both glibc.
config THREADS
default "nptl"
# Known add-ons and when they exist(ed)
# crypt external in 2.1, no longer an add-on since 2.2
# libidn external in 2.3.4 .. 2.10, still an add-on
# linuxthreads external in 2.0.1 .. 2.5, no longer available since 2.6 [*]
# localedata external in 2.0.1 .. 2.0.6, no longer an add-on since 2.1 [*]
# ports external in 2.3.4 .. 2.16, no longer an add-on since 2.20
# nptl never external, no longer an add-on since 2.20
#
# Given the list of currently supported glibc releases, we only need to worry about
# 'libidn', 'ports' and 'nptl' add-ons. Of these, only 'ports' can be an external
# tarball; and only 'libidn' is user-selectable ('ports' & 'nptl' are selected
# by crosstool-NG, as dictated by the architecture and thread model).
#
# I had trouble locating the sources in the repository for some of the released
# versions. E.g., there is a 2.5 version of linuxthreads, but the tag for 2.5 in Git
# does not have the linuxthreads directory at all. Similarly, 2.0.6 tag did not have
# localedata. Since these releases are no longer supported by crosstool-NG, this is
# of pure historical interest now, however.
config GLIBC_HAS_NPTL_ADDON
def_bool y
depends on !GLIBC_2_20_or_later
config GLIBC_HAS_PORTS_ADDON
def_bool y
depends on !GLIBC_2_20_or_later
config GLIBC_HAS_PORTS_ADDON_EXTERNAL
def_bool y
depends on !GLIBC_2_17_or_later
# In case it folds into main distribution in some future release, too
config GLIBC_HAS_LIBIDN_ADDON
def_bool y
# Some architectures require the ports addon. List them one by one here:
# This list must be carefully in sync with the architectures names
# we can find in config/arch/*
config GLIBC_USE_PORTS_ADDON
def_bool y
depends on ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc
depends on GLIBC_HAS_PORTS_ADDON
config GLIBC_USE_PORTS_EXTERNAL
def_bool y
depends on GLIBC_USE_PORTS_ADDON && GLIBC_HAS_PORTS_ADDON_EXTERNAL
config GLIBC_USE_NPTL_ADDON
def_bool y
depends on THREADS_NATIVE && GLIBC_HAS_NPTL_ADDON
config GLIBC_USE_LIBIDN_ADDON
bool "Build libidn add-on"
help
Enables the libidn add-on in GNU libc.
# SPARCv8 support retired in 2.23
config GLIBC_NO_SPARC_V8
def_bool y
depends on GLIBC_2_23_or_later
config GLIBC_EXTRA_CONFIG_ARRAY config GLIBC_EXTRA_CONFIG_ARRAY
string string
prompt "extra config" prompt "extra config"
@ -88,22 +152,6 @@ config GLIBC_FORCE_UNWIND
of glibc on some architectures of glibc on some architectures
(seen on s390, s390x and x86_64). (seen on s390, s390x and x86_64).
config GLIBC_ADDONS_LIST
string
prompt "Extra addons"
default ""
help
Extra addons to include. Space separated list.
You need to specify neither linuxthreads nor nptl, as they are added
automagically for you depending on the threading model you chose
earlier and on libc version selected.
Also, do not specify ports even if applicable to the selected libc
version/architecture; it is selected automatically.
Eg.: libidn
config GLIBC_LOCALES config GLIBC_LOCALES
bool bool
prompt "Build and install locales" prompt "Build and install locales"
@ -111,7 +159,7 @@ config GLIBC_LOCALES
Whether to build and install the libc locale files for the target, Whether to build and install the libc locale files for the target,
which is required in order to support internationalization. which is required in order to support internationalization.
if LIBC_glibc && LIBC_LOCALES if LIBC_glibc && GLIBC_LOCALES
comment "WARNING! " comment "WARNING! "
comment "| The built locales will be usable if and only if the build " comment "| The built locales will be usable if and only if the build "
comment "| machine and the target: " comment "| machine and the target: "
@ -121,7 +169,7 @@ comment "| You will have to check by yourself (for now). "
comment "WARNING! " comment "WARNING! "
comment "| Building GLIBC locales requires that GLIBC supports " comment "| Building GLIBC locales requires that GLIBC supports "
comment "| the build machine as the target. " comment "| the build machine as the target. "
endif # LIBC_glibc && LIBC_LOCALES endif # LIBC_glibc && GLIBC_LOCALES
if KERNEL_linux if KERNEL_linux
@ -215,7 +263,7 @@ endchoice
config GLIBC_MIN_KERNEL config GLIBC_MIN_KERNEL
string string
default "" if GLIBC_KERNEL_VERSION_NONE default "" if GLIBC_KERNEL_VERSION_NONE
default KERNEL_VERSION if GLIBC_KERNEL_VERSION_AS_HEADERS default LINUX_VERSION if GLIBC_KERNEL_VERSION_AS_HEADERS
default GLIBC_MIN_KERNEL_VERSION if GLIBC_KERNEL_VERSION_CHOSEN default GLIBC_MIN_KERNEL_VERSION if GLIBC_KERNEL_VERSION_CHOSEN
endif # KERNEL_linux endif # KERNEL_linux

View File

@ -21,3 +21,11 @@ config NEWLIB_CXA_ATEXIT
def_bool y def_bool y
depends on NEWLIB_2_0_or_later depends on NEWLIB_2_0_or_later
select LIBC_PROVIDES_CXA_ATEXIT select LIBC_PROVIDES_CXA_ATEXIT
config NEWLIB_HAS_NANO_MALLOC
def_bool y
depends on NEWLIB_2_1_or_later
config NEWLIB_HAS_NANO_FORMATTED_IO
def_bool y
depends on NEWLIB_2_2_or_later

View File

@ -164,7 +164,7 @@ config LIBC_NEWLIB_LTO
config LIBC_NEWLIB_NANO_MALLOC config LIBC_NEWLIB_NANO_MALLOC
bool bool
prompt "Enable Nano Malloc" prompt "Enable Nano Malloc"
depends on LIBC_NEWLIB_2_1_or_later depends on NEWLIB_HAS_NANO_MALLOC
help help
NEWLIB has two implementations of malloc family's functions, one in NEWLIB has two implementations of malloc family's functions, one in
`mallocr.c' and the other one in `nano-mallocr.c'. This options `mallocr.c' and the other one in `nano-mallocr.c'. This options
@ -175,7 +175,7 @@ config LIBC_NEWLIB_NANO_MALLOC
config LIBC_NEWLIB_NANO_FORMATTED_IO config LIBC_NEWLIB_NANO_FORMATTED_IO
bool bool
prompt "Enable Nano Formatted I/O" prompt "Enable Nano Formatted I/O"
depends on LIBC_NEWLIB_2_2_or_later depends on NEWLIB_HAS_NANO_FORMATTED_IO
help help
This builds NEWLIB with a special implementation of formatted I/O This builds NEWLIB with a special implementation of formatted I/O
functions, designed to lower the size of application on small systems functions, designed to lower the size of application on small systems

View File

@ -2,9 +2,6 @@
menu "Target options" menu "Target options"
config ARCH
string
source "config/gen/arch.in" source "config/gen/arch.in"
config ARCH_SUFFIX config ARCH_SUFFIX

View File

@ -81,6 +81,7 @@ gen_choice() {
printf '\n' printf '\n'
printf 'config %s\n' "${cfg_prefix}" printf 'config %s\n' "${cfg_prefix}"
printf ' string\n'
for entry in `get_components ${base_dir}`; do for entry in `get_components ${base_dir}`; do
file="${base_dir}/${entry}.in" file="${base_dir}/${entry}.in"
_entry=$(printf '%s\n' "${entry}" |"${sed}" -r -s -e 's/[-.+]/_/g;') _entry=$(printf '%s\n' "${entry}" |"${sed}" -r -s -e 's/[-.+]/_/g;')

View File

@ -1,7 +1,21 @@
#!/bin/bash #!/bin/bash
######################################## ########################################
# Common meta-language implementation # Common meta-language implementation. Syntax:
#
# The template file is processed line by line, with @@VAR@@ placeholders
# being replaced with a value of the VAR variable.
# Special lines start with '#!' and a keyword:
#
# #!//
# Comment, the rest of the line is ignored
# #!if COND
# Conditional: the lines until the matching #!end-if are processed
# only if the conditional COND evaluates to true.
# #!foreach NAME
# Iterate over NAME entities (the iterator must be set up first
# using the set_iter function), processing the lines until the matching
# #!end-foreach line.
declare -A info declare -A info
@ -12,7 +26,7 @@ debug()
fi fi
} }
info() msg()
{ {
if [ -z "${QUIET}" ]; then if [ -z "${QUIET}" ]; then
echo "INFO :: $@" >&2 echo "INFO :: $@" >&2
@ -125,7 +139,7 @@ run_lines()
while [ "${l}" -le "${end}" ]; do while [ "${l}" -le "${end}" ]; do
lnext=$[l+1] lnext=$[l+1]
s="${tlines[${l}]}" s="${tlines[${l}]}"
# Expand @@foo@@ to ${info[foo]}. First escape quotes/backslashes. # Expand @@foo@@ to ${info[foo]}. First escape variables/backslashes for evals below.
s="${s//\\/\\\\}" s="${s//\\/\\\\}"
s="${s//\$/\\\$}" s="${s//\$/\\\$}"
while [ -n "${s}" ]; do while [ -n "${s}" ]; do
@ -352,13 +366,28 @@ sort_versions()
read_file() read_file()
{ {
local l local l p
while read l; do while read l; do
l="${p}${l}"
p=
case "${l}" in case "${l}" in
"#"*) continue;; "")
*=*) echo "info[${l%%=*}]=${l#*=}";; continue
*) error "syntax error in '${1}': '${l}'" ;;
*\\)
p="${l%\\}"
continue
;;
"#"*)
continue
;;
*=*)
echo "info[${l%%=*}]=${l#*=}"
;;
*)
error "syntax error in '${1}': '${l}'"
;;
esac esac
done < "${1}" done < "${1}"
} }
@ -410,6 +439,7 @@ enter_fork()
info[repository_cset]=HEAD info[repository_cset]=HEAD
info[fork]=${fork} info[fork]=${fork}
info[name]=${fork} info[name]=${fork}
info[mirrors]=
eval `read_package_desc ${fork}` eval `read_package_desc ${fork}`
@ -426,6 +456,7 @@ enter_fork()
info[repository_url]=${info[repository]##* } info[repository_url]=${info[repository]##* }
info[repository_dflt_branch]=${dflt_branch[${info[vcs]}]} info[repository_dflt_branch]=${dflt_branch[${info[vcs]}]}
fi fi
info[versionlocked]=`kconfigize "${info[versionlocked]}"`
versions=`cd packages/${fork} && \ versions=`cd packages/${fork} && \
for f in */version.desc; do [ -r "${f}" ] && echo "${f%/version.desc}"; done` for f in */version.desc; do [ -r "${f}" ] && echo "${f%/version.desc}"; done`
@ -449,13 +480,6 @@ enter_fork()
fi fi
} }
set_latest_milestone()
{
if [ `cmp_versions ${info[ms]} ${info[ver]}` -le 0 -a -z "${milestone}" ]; then
milestone=${info[ms_kcfg]}
fi
}
enter_version() enter_version()
{ {
local -A ver_postfix=( \ local -A ver_postfix=( \
@ -463,35 +487,23 @@ enter_version()
[,,yes,]=" (EXPERIMENTAL)" \ [,,yes,]=" (EXPERIMENTAL)" \
[,yes,yes,]=" (OBSOLETE,EXPERIMENTAL)" ) [,yes,yes,]=" (OBSOLETE,EXPERIMENTAL)" )
local version="${1}" local version="${1}"
local tmp milestone
eval `read_version_desc ${info[fork]} ${version}` eval `read_version_desc ${info[fork]} ${version}`
info[ver]=${version} info[ver]=${version}
info[kcfg]=`kconfigize ${version}` info[kcfg]=`kconfigize ${version}`
info[ver_postfix]=${ver_postfix[,${info[obsolete]},${info[experimental]},]} info[ver_postfix]=${ver_postfix[,${info[obsolete]},${info[experimental]},]}
# TBD do we need "prev" version?
tmp=" ${info[all_versions]} "
tmp=${tmp##* ${version} }
info[prev]=`kconfigize ${tmp%% *}`
# Find the latest milestone preceding this version
milestone=
do_foreach milestone set_latest_milestone
info[milestone]=${milestone}
} }
enter_milestone() enter_milestone()
{ {
local ms="${1}" local ms="${1}"
local tmp local cmp
info[ms]=${ms} info[ms]=${ms}
info[ms_kcfg]=`kconfigize ${ms}` info[ms_kcfg]=`kconfigize ${ms}`
if [ -n "${info[ver]}" ]; then
tmp=" ${info[all_milestones]} " info[version_cmp_milestone]=`cmp_versions ${info[ver]} ${info[ms]}`
tmp=${tmp##* ${ms} } fi
info[ms_prev]=`kconfigize ${tmp%% *}`
} }
rm -rf "${config_dir}" rm -rf "${config_dir}"
@ -502,7 +514,7 @@ pkg_all=( `cd packages && \
while read f; do [ -r "${f}" ] && echo "${f%/package.desc}"; done | \ while read f; do [ -r "${f}" ] && echo "${f%/package.desc}"; done | \
xargs echo` ) xargs echo` )
info "Generating package version descriptions" msg "Generating package version descriptions"
debug "Packages: ${pkg_all[@]}" debug "Packages: ${pkg_all[@]}"
# We need to group forks of the same package into the same # We need to group forks of the same package into the same
@ -511,12 +523,12 @@ debug "Packages: ${pkg_all[@]}"
for p in "${pkg_all[@]}"; do for p in "${pkg_all[@]}"; do
find_forks "${p}" find_forks "${p}"
done done
info "Master packages: ${pkg_masters[@]}" msg "Master packages: ${pkg_masters[@]}"
# Now for each master, create its kconfig file with version # Now for each master, create its kconfig file with version
# definitions. # definitions.
for p in "${pkg_masters[@]}"; do for p in "${pkg_masters[@]}"; do
info "Generating '${config_dir}/${p}.in'" msg "Generating '${config_dir}/${p}.in'"
exec >"${config_dir}/${p}.in" exec >"${config_dir}/${p}.in"
# Base definitions for the whole config file # Base definitions for the whole config file
info=( \ info=( \
@ -532,4 +544,4 @@ for p in "${pkg_masters[@]}"; do
# TBD get rid of the "origin" completely and use just the fork name? # TBD get rid of the "origin" completely and use just the fork name?
run_template "${template}" run_template "${template}"
done done
info "Done!" msg "Done!"

View File

@ -58,19 +58,6 @@ config @@pfx@@_SRC_DEVEL
Check out from vendor repository at: Check out from vendor repository at:
@@repository_url@@ @@repository_url@@
#!end-if
config @@pfx@@_SRC_CUSTOM
bool "Custom location"
depends on EXPERIMENTAL
help
Custom directory or tarball.
endchoice
#!if [ -n "@@all_versions@@" ]
endif
#!end-if
#!if [ -n "@@repository@@" ]
if @@pfx@@_SRC_DEVEL if @@pfx@@_SRC_DEVEL
config @@pfx@@_DEVEL_VCS config @@pfx@@_DEVEL_VCS
@ -95,7 +82,13 @@ config @@pfx@@_DEVEL_REVISION
Commit ID or revision ID to check out. Commit ID or revision ID to check out.
endif endif
#!end-if #!end-if
config @@pfx@@_SRC_CUSTOM
bool "Custom location"
depends on EXPERIMENTAL
help
Custom directory or tarball.
if @@pfx@@_SRC_CUSTOM if @@pfx@@_SRC_CUSTOM
@ -106,9 +99,40 @@ config @@pfx@@_CUSTOM_LOCATION
endif endif
endchoice
#!if [ -n "@@all_versions@@" ] #!if [ -n "@@all_versions@@" ]
endif
config @@pfx@@_MIRRORS_ARRAY
string
default "@@mirrors@@"
#!end-if
#!// Below, we explicitly select all milestones to which a given version
#!// compares greater-or-equal. We don't select just the latest applicable
#!// (and letting milestones chain-select each other, with FOO_6_or_later
#!// selecting FOO_5_or_later and so on) so that we can handle the cases
#!// where we need to identify a range of releases on a branch, for example,
#!// "all FOO releases after 4.9.1 but before 4.9.3".
#!//
#!if [ -n "@@all_versions@@" -a -z "@@versionlocked@@" ]
choice choice
bool "Version of @@name@@" bool "Version of @@name@@"
help
For a released version, select the version of @@name@@ to download
and build. For sources out of the vendor repository or from a custom
location, select the version that describes those custom sources.
Based on this version, crosstool-NG may apply some version-specific
quirks while building @@name@@.
config @@pfx@@_VERY_NEW
bool "newer than anything below"
depends on EXPERIMENTAL
depends on @@pfx@@_SRC_DEVEL || @@pfx@@_SRC_CUSTOM
#!foreach milestone
select @@masterpfx@@_@@ms_kcfg@@_or_later
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
#!end-foreach
#!foreach version #!foreach version
config @@pfx@@_V_@@kcfg@@ config @@pfx@@_V_@@kcfg@@
@ -119,14 +143,39 @@ config @@pfx@@_V_@@kcfg@@
#!if [ "@@experimental@@" = "yes" ] #!if [ "@@experimental@@" = "yes" ]
depends on EXPERIMENTAL depends on EXPERIMENTAL
#!end-if #!end-if
#!if [ -n "@@milestone@@" ] #!foreach milestone
select @@masterpfx@@_@@milestone@@_or_later #!if [ "@@version_cmp_milestone@@" -ge 0 ]
select @@masterpfx@@_@@ms_kcfg@@_or_later
#!end-if #!end-if
#!if [ "@@version_cmp_milestone@@" -gt 0 ]
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
#!end-if
#!if [ "@@version_cmp_milestone@@" -lt 0 ]
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
#!end-if
#!end-foreach
#!end-foreach #!end-foreach
config @@pfx@@_VERY_OLD
bool "older than anything above"
depends on OBSOLETE && EXPERIMENTAL
depends on @@pfx@@_SRC_DEVEL || @@pfx@@_SRC_CUSTOM
#!foreach milestone
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
#!end-foreach
endchoice endchoice
#!end-if #!end-if
#!if [ -n "@@versionlocked@@" ]
#!foreach version
config @@pfx@@_V_@@kcfg@@
def_bool y
depends on @@versionlocked@@_V_@@kcfg@@
#!end-foreach
#!end-if
#!if [ "@@nforks@@" -ge 2 ] #!if [ "@@nforks@@" -ge 2 ]
endif endif
#!end-if #!end-if
@ -141,10 +190,16 @@ config @@pfx@@_VERSION
#!end-foreach #!end-foreach
#!foreach milestone #!foreach milestone
#!// Milestones selected by a chosen version of this package
config @@masterpfx@@_@@ms_kcfg@@_or_later config @@masterpfx@@_@@ms_kcfg@@_or_later
bool bool
#!if [ -n "@@ms_prev@@" ]
select @@masterpfx@@_@@ms_prev@@_or_later #!// Milestone requirements selected by other packages that restrict
#!end-if #!// the choices in this package
config @@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
bool
config @@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
bool
#!end-foreach #!end-foreach

View File

@ -1 +1,2 @@
repository="git git://git.sv.gnu.org/autoconf" repository='git git://git.sv.gnu.org/autoconf'
mirrors='$(CT_Mirrors GNU autoconf)'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1,2 @@
repository="git https://git.savannah.gnu.org/git/automake.git" repository='git https://git.savannah.gnu.org/git/automake.git'
mirrors='$(CT_Mirrors GNU automake)'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1,2 @@
repository="svn svn://svn.savannah.nongnu.org/avr-libc/trunk/avr-libc" repository='svn svn://svn.savannah.nongnu.org/avr-libc/trunk/avr-libc'
mirrors='http://download.savannah.gnu.org/releases/avr-libc'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,5 +1,5 @@
master="binutils" master='binutils'
repository="git https://git.linaro.org/toolchain/binutils-gdb.git" repository='git https://git.linaro.org/toolchain/binutils-gdb.git'
download="TBD" mirrors='$(CT_Mirrors Linaro binutils ${CT_BINUTILS_LINARO_VERSION})'
origin="Linaro" origin='Linaro'
experimental="yes" experimental='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,4 +1,4 @@
repository="git git://sourceware.org/git/binutils-gdb.git" repository='git git://sourceware.org/git/binutils-gdb.git'
download_url="TBD other mirrors https://ftp.gnu.org/gnu/binutils/binutils-${version}.${format}" mirrors='$(CT_Mirrors GNU binutils) $(CT_Mirrors GCC_GNU binutils) $(CT_Mirrors sourceware)'
origin="GNU" origin='GNU'
milestones="2.23" milestones='2.23'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
experimental="yes" experimental='yes'

View File

@ -1 +1,2 @@
# We don't support building bionic (yet) so no official repository # We don't support building bionic (yet) so no official repository
mirrors='https://dl.google.com/android/repository'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,3 +1,4 @@
name="CLooG" name='CLooG'
repository="git git://repo.or.cz/cloog.git" repository='git git://repo.or.cz/cloog.git'
milestones="0.18" mirrors='http://www.bastoul.net/cloog/pages/download ftp://gcc.gnu.org/pub/gcc/infrastructure'
milestones='0.18'

View File

@ -1 +1,2 @@
repository="cvs :pserver:anonymous@duma.cvs.sourceforge.net:/cvsroot/duma" repository='cvs :pserver:anonymous@duma.cvs.sourceforge.net:/cvsroot/duma'
mirrors='http://downloads.sourceforge.net/project/duma/duma/${CT_DUMA_VERSION}'

View File

@ -1,2 +1,2 @@
repository="git https://github.com/uclinux-dev/elf2flt.git" repository='git https://github.com/uclinux-dev/elf2flt.git'
repository_cset="6d80ab6c93409e796f85da404bde84b841231531" repository_cset='6d80ab6c93409e796f85da404bde84b841231531'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1,2 @@
repository="git https://github.com/libexpat/libexpat.git" repository='git https://github.com/libexpat/libexpat.git'
mirrors='http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -0,0 +1,28 @@
From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001
From: kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 3 Sep 2016 10:57:05 +0000
Subject: [PATCH] gcc/ * ubsan.c (ubsan_use_new_style_p): Fix check for empty
string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239971 138bc75d-0d04-0410-961f-82ee72b054a4
Upstream-Status: Backport
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
---
gcc/ubsan.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
Index: gcc-6.3.0/gcc/ubsan.c
===================================================================
--- gcc-6.3.0.orig/gcc/ubsan.c
+++ gcc-6.3.0/gcc/ubsan.c
@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc)
expanded_location xloc = expand_location (loc);
if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
- || xloc.file == '\0' || xloc.file[0] == '\xff'
+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff'
|| xloc.file[1] == '\xff')
return false;

View File

@ -1,5 +1,5 @@
master="gcc" master='gcc'
repository="git https://git.linaro.org/toolchain/gcc.git" repository='git https://git.linaro.org/toolchain/gcc.git'
download="TBD" mirrors='$(CT_Mirrors Linaro gcc ${CT_GCC_LINARO_VERSION})'
origin="Linaro" origin='Linaro'
experimental="yes" experimental='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,4 +1,4 @@
repository="svn svn://gcc.gnu.org/svn/gcc" repository='svn svn://gcc.gnu.org/svn/gcc'
download_url="TBD other mirrors ftp://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.${format}" mirrors='$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc gcc-${CT_GCC_VERSION})'
origin="GNU" origin='GNU'
milestones="4.8 4.9 5 6 7" milestones='4.8 4.9 4.9.2 5 6 7'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,5 +1,5 @@
master="gdb" master='gdb'
repository="git https://git.linaro.org/toolchain/binutils-gdb.git" repository='git https://git.linaro.org/toolchain/binutils-gdb.git'
download="TBD" mirrors='$(CT_Mirrors Linaro gdb ${CT_GDB_LINARO_VERSION})'
origin="Linaro" origin='Linaro'
experimental="yes" experimental='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,3 +1,4 @@
origin="GNU" origin='GNU'
repository="git ssh://sourceware.org/git/binutils-gdb.git" repository='git ssh://sourceware.org/git/binutils-gdb.git'
milestones="7.0 7.2" mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb)'
milestones='7.0 7.2'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1 +1,2 @@
repository="git https://git.savannah.gnu.org/git/gettext.git" repository='git https://git.savannah.gnu.org/git/gettext.git'
mirrors='$(CT_Mirrors GNU gettext)'

View File

@ -1 +1 @@
obsolete="yes" obsolete='yes'

View File

@ -1,4 +1,5 @@
master="glibc" master='glibc'
origin="Linaro" origin='Linaro'
repository="git https://git.linaro.org/toolchain/glibc.git" repository='git https://git.linaro.org/toolchain/glibc.git'
experimental="yes" mirrors='$(CT_Mirrors Linaro glibc ${CT_GLIBC_LINARO_VERSION})'
experimental='yes'

Some files were not shown because too many files have changed in this diff Show More