Commit Graph

5032 Commits

Author SHA1 Message Date
Alexey Neyman
91d01a0e47 Another wave of version updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 22:47:07 -08:00
Alexey Neyman
3552aa2e40 Update config.{sub,guess}
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 15:56:34 -08:00
Alexey Neyman
c47dd72602 Check if two versions conflict
by resolving to the same "relevant" portion.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 15:51:00 -08:00
Alexey Neyman
b135af0c4a
Merge pull request #1139 from stilor/master
decouple darwin/clang
2019-02-13 15:18:55 -08:00
Alexey Neyman
1a3b562c75 Check for lzip (some archives are lzipped)
Ideally, we should just skip the archives for which we don't have the
utilities; let's leave it until I convert the "trivial checks" part of
crosstool-NG.sh into a separate configure script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 14:45:07 -08:00
Alexey Neyman
841c6fc8c1 Use CFLAGS for both CFLAGS/CXXFLAGS in GDB
These config variables are documented as such anyway.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 13:42:15 -08:00
Roy Storey
5d84835f90 decouple darwin/clang here as per #712
https://github.com/crosstool-ng/crosstool-ng/issues/712#issuecomment-300891861
2019-02-13 13:23:46 -08:00
Roy Storey
2306701d2c clang check before add to CT_CFLAGS_FOR_BUILD/HOST 2019-02-13 13:23:40 -08:00
Alexey Neyman
8bdb0ccd04
Merge pull request #1138 from stilor/master
Implement an option to store downloads in subdirs
2019-02-13 12:51:31 -08:00
Alexey Neyman
2219aab336 Implement an option to store downloads in subdirs
... following the buildroot model.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 01:05:13 -08:00
Alexey Neyman
2da27758a9
Merge pull request #1136 from stilor/upgrading2
Upgradability, phase 2
2019-02-12 22:55:55 -08:00
Alexey Neyman
47e16f64e4 Run the samples through update to v2
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09 15:55:37 -08:00
Alexey Neyman
74a53fdf3e Use enhanced framework for 'ct-ng update-samples'
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09 15:55:16 -08:00
Alexey Neyman
09cb590847 Improve upgradability of defconfig files
- Switch to two-pass reading of the config file to track both (a) the
option's value and (b) if the option has been explicitly called out in
the .config being processed.
- Split off per-version functions into separate files.
- Add a README with some guidelines on writing new upgrade scripts.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-09 14:09:20 -08:00
Alexey Neyman
db4fdf0150
Merge pull request #1133 from carlo-bramini/fix-libintl-error
Correctly reference to libintl when linking.
2019-02-06 22:46:28 -08:00
Alexey Neyman
5aed6ab6e2
Merge pull request #1134 from stilor/upgrading
Upgrade script + test suite
2019-02-06 22:46:14 -08:00
Alexey Neyman
cad2a775dc Add test if kconfig file version needs to be bumped
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-06 00:20:11 -08:00
Alexey Neyman
27f0c8b838 Add a few tests to upgrade testsuite
... coverage not complete, but pretty diverse and covers most
non-trivial conversions. PRs with better coverage for 1.23.o options
welcome.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-06 00:01:55 -08:00
carlo-bramini
f2ac970b9b
Correctly reference to libintl when linking. 2019-02-05 16:39:17 +01:00
Alexey Neyman
523534c9db Start a testsuite for upgrade script
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-05 00:53:36 -08:00
Alexey Neyman
3b86d2d0e6 Upgrade script for v2 of the config
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-01 00:15:20 -08:00
Alexey Neyman
0fe21f8db8 Config v2: select relevant parts of each package version
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>
2019-01-30 00:09:30 -08:00
Alexey Neyman
93dd61e257 Run the samples through ct-ng update-samples
- Pin sparc-leon-linux-gnu to GCC6, again.
- Remove "brokenness" explanation from moxie-elf comment (was only
applicable to stage-2 compiler, not final).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28 22:46:15 -08:00
Alexey Neyman
88a08bd2fd Run version check via eval
... otherwise it fails for autoconf/automake; for some reason, newer
Ubuntu 18.10 adds extra quoting around '${SHELL}' in
$ac_cv_path_AUTOCONF.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-28 00:26:37 -08:00
Alexey Neyman
ea07954745 Ignore vim swap files while generating the file list
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-27 22:55:41 -08:00
Alexey Neyman
adc16046f7 Add upgrade logic to version-check.sh
Slightly rework config version detector to catch the case where neither
CONFIG_VERSION/CONFIG_VERSION_CURRENT is defined in the config file.

Add olddefconfig and use it after the upgrade.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-27 22:55:26 -08:00
Alexey Neyman
20c6accc65 Retire GDB 7.0a, superseded by 7.0.1a
(missed by "retire old versions" commit awhile ago)

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:31:03 -08:00
Alexey Neyman
57e5be632d Basic framework for checking config file version
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Alexey Neyman
127c6cc64d Replace GDB 7.8.1 with 7.82
When merging new package framework, I missed that master had 7.8.2
imported in place of 7.8.1. Noone complained about this downgrade...

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Alexey Neyman
e550d2c235
Merge pull request #1129 from bhundven/update_musl_1_1_21
[musl-libc] Add 1.1.21
2019-01-24 22:14:37 -08:00
Bryan Hundven
11dd696c64 [musl-libc] Add 1.1.21
https://www.openwall.com/lists/musl/2019/01/21/8

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2019-01-23 13:46:24 -08:00
Alexey Neyman
daa0752950
Merge pull request #1128 from dimkr/uclibc-cfg
Store the uClibc .config alongside the ct-ng .config
2019-01-22 23:57:17 -08:00
Dima Krasner
de797aa99d Coding style fixes in functions
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-01-23 09:56:05 +02:00
Dima Krasner
d44a626968 Coding style fix in uClibc.sh
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-01-23 09:54:29 +02:00
Dima Krasner
2870ffae51 Moved uClibc configuration installation to uClibc.sh
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-01-23 09:52:04 +02:00
Dima Krasner
1635c149a4 Store the uClibc .config alongside the ct-ng .config
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
2019-01-22 22:36:15 +02:00
Alexey Neyman
0364e3cf91
Merge pull request #1127 from julbrygd/master
added the version 5 to the check of bash versions
2019-01-15 08:55:12 -08:00
Stephan Conrad
b0151f5eb5 added the version 5 to the check of bash versions
Signed-off-by: Stephan Conrad <stephan@conrad.pics>
2019-01-15 16:28:16 +01:00
Alexey Neyman
0a5107dd42
Merge pull request #1126 from stilor/prefix-with-symlinks
Handle a setup where CT_PREFIX_DIR has symlinks
2019-01-15 00:00:57 -08:00
Alexey Neyman
b6c5ae2f17 Fix building archlinux image
`groupadd` now requires libaudit.so, but coreutils can be installed
without audit package. Weird, gross.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:58:53 -08:00
Alexey Neyman
92ad0fe0ab Dump how multilib iterator is invoked
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:58:22 -08:00
Alexey Neyman
e05fa86bba Canonicalize prefix dir and sysroot
... because GCC prints the sysroot with symlinks resolved.

Fixes #892.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-14 23:56:40 -08:00
Alexey Neyman
e215e3aea8
Merge pull request #1121 from xNombre/master
Add new Android API levels
2019-01-02 12:34:54 -08:00
Andrzej Perczak
7d1b10b5e8
Add new Android API levels 2018-12-21 21:07:44 +01:00
Alexey Neyman
eb72b4eb1d
Merge pull request #1117 from stilor/fix-android
Fix android sample
2018-12-15 01:11:31 -08:00
Alexey Neyman
9fc729b4b0 Bionic modifies CT_TARGET_CFLAGS
... which, after a recent change, is not reflected into CT_ALL_TARGET_CFLAGS
for non-multilib configurations.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-15 00:39:04 -08:00
Alexey Neyman
e46f6d9966 Use "package ksym" when fetching/extracting
... in the default implementation of the fetch/extract methods.

Fixes #1116.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-14 18:50:51 -08:00
Alexey Neyman
de48268390
Merge pull request #1115 from stilor/binutils-lto
Add a symlink to LTO for binutils
2018-12-11 08:59:00 -08:00
Alexey Neyman
f2b64524b0 Add a symlink to LTO for binutils
... so that ar can find the plugin even when invoked directly, not
via the gcc-ar plugin.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-11 08:55:07 -08:00
Alexey Neyman
abee9bd482
Merge pull request #1114 from stilor/strip-vendor
Allow removing vendor part of the tuple
2018-12-10 22:31:17 -08:00