Skip to content

Commit

Permalink
Config v2: select relevant parts of each package version
Browse files Browse the repository at this point in the history
Also, remove a couple of config options that dealt with package versions
that have been since retired.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Jan 30, 2019
1 parent 93dd61e commit 0fe21f8
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 34 deletions.
5 changes: 0 additions & 5 deletions config/cc/gcc.in
Expand Up @@ -34,11 +34,6 @@ config CC_GCC_ENABLE_PLUGINS
depends on BINUTILS_PLUGINS
depends on ! STATIC_TOOLCHAIN

# 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
config CC_GCC_GOLD
def_bool y
Expand Down
7 changes: 0 additions & 7 deletions config/comp_libs/cloog.in
@@ -1,8 +1 @@
# CLooG options

# CLooG 0.18.4 requires ISL 0.12 or newer
# CLooG 0.18.1/0.18.0 requires ISL 0.12 or older

config CLOOG_HAS_WITH_GMP_ISL_OSL
bool
default y if CLOOG_0_18_or_later
2 changes: 2 additions & 0 deletions config/comp_libs/isl.in
@@ -1,4 +1,6 @@
# ISL options
# CLooG 0.18.4 requires ISL 0.12 or newer
# CLooG 0.18.1 requires ISL 0.12 or older
## select CLOOG_REQUIRE_0_18_1_or_older if CLOOG_NEEDED && !ISL_0_12_or_later
## select CLOOG_REQUIRE_0_18_4_or_later if CLOOG_NEEDED && !ISL_0_14_or_older

Expand Down
2 changes: 1 addition & 1 deletion ct-ng.in
Expand Up @@ -41,7 +41,7 @@ export CT_VCHECK=
# need to pass it to the upgrade script - which may receive an input that
# was not preprocessed by kconfig, and hence have no string for "up-to-date"
# version.
export CT_CONFIG_VERSION_CURRENT=1
export CT_CONFIG_VERSION_CURRENT=2

# Download agents used by scripts.mk
CT_WGET := @wget@
Expand Down
1 change: 1 addition & 0 deletions packages/android-ndk/package.desc
@@ -1,4 +1,5 @@
# We don't support building bionic (yet) so no official repository
mirrors='https://dl.google.com/android/repository'
relevantpattern='r*|[a-z]'
archive_filename='@{pkg_name}-@{version}-linux-x86_64'
archive_formats='.zip'
1 change: 1 addition & 0 deletions packages/automake/package.desc
@@ -1,5 +1,6 @@
repository='git https://git.savannah.gnu.org/git/automake.git'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU automake)'
relevantpattern='1.*|.'
archive_formats='.tar.xz .tar.gz'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/binutils/package.desc
@@ -1,5 +1,6 @@
repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)'
relevantpattern='*.*|.'
origin='GNU'
milestones='2.23 2.25 2.27 2.30'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
Expand Down
2 changes: 1 addition & 1 deletion packages/cloog/package.desc
@@ -1,5 +1,5 @@
pkg_label='CLooG'
repository='git git://repo.or.cz/cloog.git'
mirrors='http://www.bastoul.net/cloog/pages/download ftp://gcc.gnu.org/pub/gcc/infrastructure'
milestones='0.18 0.18.1 0.18.4'
milestones='0.18.1 0.18.4'
archive_formats='.tar.gz'
1 change: 1 addition & 0 deletions packages/dtc/package.desc
@@ -1,4 +1,5 @@
repository='git git://git.kernel.org/pub/scm/utils/dtc/dtc.git'
mirrors='$(CT_Mirrors kernel.org dtc)'
relevantpattern='*.*|.'
archive_formats='.tar.xz .tar.gz'
signature_format='unpacked/.sign'
1 change: 1 addition & 0 deletions packages/expat/package.desc
Expand Up @@ -3,3 +3,4 @@ repository_subdir='expat'
bootstrap='./buildconf.sh && make -C doc all'
mirrors='http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}'
archive_formats='.tar.bz2'
relevantpattern='*.*|.'
1 change: 1 addition & 0 deletions packages/gcc-linaro/package.desc
@@ -1,6 +1,7 @@
master='gcc'
repository='git https://git.linaro.org/toolchain/gcc.git'
mirrors='$(CT_Mirrors Linaro gcc ${CT_GCC_LINARO_VERSION})'
relevantpattern='4.*|- *|.'
origin='Linaro'
experimental='yes'
archive_formats='.tar.xz'
3 changes: 2 additions & 1 deletion packages/gcc/package.desc
@@ -1,5 +1,6 @@
repository='svn svn://gcc.gnu.org/svn/gcc'
mirrors='$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})'
relevantpattern='4.*|. *|.'
origin='GNU'
milestones='4.8 4.9 4.9.2 5 6 7'
milestones='4.8 4.9 5 6 7'
archive_formats='.tar.xz .tar.gz'
4 changes: 0 additions & 4 deletions packages/gdb-linaro/7.7-2014.05/chksum

This file was deleted.

2 changes: 0 additions & 2 deletions packages/gdb-linaro/7.7-2014.05/version.desc

This file was deleted.

1 change: 1 addition & 0 deletions packages/gdb-linaro/package.desc
@@ -1,6 +1,7 @@
master='gdb'
repository='git https://git.linaro.org/toolchain/binutils-gdb.git'
mirrors='$(CT_Mirrors Linaro gdb ${CT_GDB_LINARO_VERSION})'
relevantpattern='*.*|.*-20[0-9][0-9] *.*|-20[0-9][0-9]'
origin='Linaro'
experimental='yes'
archive_formats='.tar.xz'
1 change: 1 addition & 0 deletions packages/gdb/package.desc
@@ -1,5 +1,6 @@
origin='GNU'
repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)'
relevantpattern='*.*|[a-z.]'
milestones='7.0 7.2 7.12 8.0'
archive_formats='.tar.xz .tar.gz'
1 change: 1 addition & 0 deletions packages/glibc-linaro/package.desc
@@ -1,6 +1,7 @@
master='glibc'
origin='Linaro'
repository='git https://git.linaro.org/toolchain/glibc.git'
relevantpattern='*|-'
mirrors='$(CT_Mirrors Linaro glibc ${CT_GLIBC_LINARO_VERSION})'
experimental='yes'
archive_formats='.tar.xz'
2 changes: 2 additions & 0 deletions packages/glibc/package.desc
@@ -1,6 +1,8 @@
origin='GNU'
repository='git git://sourceware.org/git/glibc.git'
mirrors='$(CT_Mirrors GNU glibc)'
# Cannot use MAJOR.MINOR as the releant part because of 2.12: 2.12.2 was the most recent
# bugfix release, but it didn't have glibc-ports released alongside it.
milestones='2.14 2.17 2.20 2.23 2.24 2.25 2.26 2.27'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/gmp/package.desc
@@ -1,6 +1,7 @@
repository='hg https://gmplib.org/repo/gmp/'
bootstrap='./.bootstrap'
mirrors='https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)'
relevantpattern='*.*|.'
milestones='5.0.0 5.1.0'
archive_formats='.tar.xz .tar.lz .tar.bz2'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/isl/package.desc
@@ -1,5 +1,6 @@
repository='git git://repo.or.cz/isl.git'
bootstrap='./autogen.sh'
mirrors='http://isl.gforge.inria.fr'
relevantpattern='*.*|.'
milestones='0.12 0.13 0.14 0.15 0.18'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
1 change: 1 addition & 0 deletions packages/libelf/package.desc
@@ -1,4 +1,5 @@
# FIXME No public repository and no new releases.
# Consider switching to/adding project elftoolchain?
mirrors='http://www.mr511.de/software'
relevantpattern='*.*|.'
archive_formats='.tar.gz'
1 change: 1 addition & 0 deletions packages/libtool/package.desc
@@ -1,5 +1,6 @@
repository='git git://git.savannah.gnu.org/libtool.git'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU libtool)'
relevantpattern='*.*|.'
archive_formats='.tar.xz .tar.gz'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/m4/package.desc
@@ -1,5 +1,6 @@
repository='git git://git.sv.gnu.org/m4'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU m4)'
relevantpattern='*.*|.'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/make/package.desc
@@ -1,5 +1,6 @@
repository='git https://git.savannah.gnu.org/git/make.git'
bootstrap='autoreconf -i'
mirrors='$(CT_Mirrors GNU make)'
relevantpattern='*.*|.'
archive_formats='.tar.bz2 .tar.gz'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/mingw-w64/package.desc
@@ -1,5 +1,6 @@
repository='git https://git.code.sf.net/p/mingw-w64/mingw-w64'
mirrors='http://downloads.sourceforge.net/sourceforge/mingw-w64 https://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/'
relevantpattern='v*.*|.'
milestones='v4'
archive_formats='.tar.bz2 .zip'
signature_format='packed/.sig'
1 change: 1 addition & 0 deletions packages/mpc/package.desc
@@ -1,6 +1,7 @@
repository='git https://scm.gforge.inria.fr/anonscm/git/mpc/mpc.git'
bootstrap='autoreconf -i'
mirrors='http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)'
relevantpattern='*.*|.'
archive_formats='.tar.gz'
signature_format='packed/.sig'
milestones='1.1.0'
1 change: 1 addition & 0 deletions packages/mpfr/package.desc
Expand Up @@ -2,6 +2,7 @@ repository='svn https://scm.gforge.inria.fr/anonscm/svn/mpfr'
# TBD: meta-package autoconf-archive to install extra m4's
bootstrap='wget -O m4/ax_pthread.m4 \\"http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4\\" && ./autogen.sh'
mirrors='http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)'
relevantpattern='*.*|.'
archive_formats='.tar.xz .tar.bz2 .tar.gz .zip'
signature_format='packed/.asc'
milestones='3.0.0 4.0.0'
1 change: 1 addition & 0 deletions packages/newlib-linaro/package.desc
Expand Up @@ -2,5 +2,6 @@ origin='Linaro'
master='newlib'
repository='git https://git.linaro.org/toolchain/newlib.git'
mirrors='$(CT_Mirrors Linaro newlib ${CT_NEWLIB_LINARO_VERSION})'
relevantpattern='*.*|.*-'
experimental='yes'
archive_formats='.tar.xz'
2 changes: 1 addition & 1 deletion packages/newlib/package.desc
Expand Up @@ -4,5 +4,5 @@ repository='git git://sourceware.org/git/newlib-cygwin.git'
# and gnu.org) only store some older releases of newlib (2.0.0 and before).
mirrors='ftp://sourceware.org/pub/newlib'
milestones='2.0 2.1 2.2'
relevantpattern='*.*.*|.'
relevantpattern='*.*|.*. *.*|.'
archive_formats='.tar.gz'
8 changes: 3 additions & 5 deletions scripts/build/companion_libs/130-cloog.sh
Expand Up @@ -79,11 +79,9 @@ do_cloog_backend() {
eval "${arg// /\\ }"
done

if [ "${CT_CLOOG_HAS_WITH_GMP_ISL_OSL}" = y ]; then
cloog_opts+=( --with-gmp=system --with-gmp-prefix="${prefix}" )
cloog_opts+=( --with-isl=system --with-isl-prefix="${prefix}" )
cloog_opts+=( --without-osl )
fi
cloog_opts+=( --with-gmp=system --with-gmp-prefix="${prefix}" )
cloog_opts+=( --with-isl=system --with-isl-prefix="${prefix}" )
cloog_opts+=( --without-osl )

CT_DoLog EXTRA "Configuring CLooG"

Expand Down
7 changes: 0 additions & 7 deletions scripts/build/libc/musl.sh
Expand Up @@ -68,13 +68,6 @@ musl_backend_once() {

extra_cflags=( ${multi_flags} )

# From buildroot:
# gcc constant folding bug with weak aliases workaround
# See http://www.openwall.com/lists/musl/2014/05/15/1
if [ "${CT_GCC_BUG_61144}" = "y" ]; then
extra_cflags+=("-fno-toplevel-reorder")
fi

if [ "${CT_LIBC_MUSL_DEBUG}" = "y" ]; then
extra_config+=("--enable-debug")
fi
Expand Down

0 comments on commit 0fe21f8

Please sign in to comment.