Alexey Neyman
2da27758a9
Merge pull request #1136 from stilor/upgrading2
...
Upgradability, phase 2
4 years ago
Alexey Neyman
47e16f64e4
Run the samples through update to v2
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
74a53fdf3e
Use enhanced framework for 'ct-ng update-samples'
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman
db4fdf0150
Merge pull request #1133 from carlo-bramini/fix-libintl-error
...
Correctly reference to libintl when linking.
4 years ago
Alexey Neyman
5aed6ab6e2
Merge pull request #1134 from stilor/upgrading
...
Upgrade script + test suite
4 years ago
Alexey Neyman
cad2a775dc
Add test if kconfig file version needs to be bumped
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
carlo-bramini
f2ac970b9b
Correctly reference to libintl when linking.
4 years ago
Alexey Neyman
523534c9db
Start a testsuite for upgrade script
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
3b86d2d0e6
Upgrade script for v2 of the config
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Alexey Neyman
ea07954745
Ignore vim swap files while generating the file list
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
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>
4 years ago
Alexey Neyman
57e5be632d
Basic framework for checking config file version
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman
e550d2c235
Merge pull request #1129 from bhundven/update_musl_1_1_21
...
[musl-libc] Add 1.1.21
4 years ago
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>
4 years ago
Alexey Neyman
daa0752950
Merge pull request #1128 from dimkr/uclibc-cfg
...
Store the uClibc .config alongside the ct-ng .config
4 years ago
Dima Krasner
de797aa99d
Coding style fixes in functions
...
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
4 years ago
Dima Krasner
d44a626968
Coding style fix in uClibc.sh
...
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
4 years ago
Dima Krasner
2870ffae51
Moved uClibc configuration installation to uClibc.sh
...
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
4 years ago
Dima Krasner
1635c149a4
Store the uClibc .config alongside the ct-ng .config
...
Signed-off-by: Dima Krasner <dima@dimakrasner.com>
4 years ago
Alexey Neyman
0364e3cf91
Merge pull request #1127 from julbrygd/master
...
added the version 5 to the check of bash versions
4 years ago
Stephan Conrad
b0151f5eb5
added the version 5 to the check of bash versions
...
Signed-off-by: Stephan Conrad <stephan@conrad.pics>
4 years ago
Alexey Neyman
0a5107dd42
Merge pull request #1126 from stilor/prefix-with-symlinks
...
Handle a setup where CT_PREFIX_DIR has symlinks
4 years ago
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>
4 years ago
Alexey Neyman
92ad0fe0ab
Dump how multilib iterator is invoked
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
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>
4 years ago
Alexey Neyman
e215e3aea8
Merge pull request #1121 from xNombre/master
...
Add new Android API levels
4 years ago
Andrzej Perczak
7d1b10b5e8
Add new Android API levels
4 years ago
Alexey Neyman
eb72b4eb1d
Merge pull request #1117 from stilor/fix-android
...
Fix android sample
4 years ago
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>
4 years ago
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>
4 years ago
Alexey Neyman
de48268390
Merge pull request #1115 from stilor/binutils-lto
...
Add a symlink to LTO for binutils
4 years ago
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>
4 years ago
Alexey Neyman
abee9bd482
Merge pull request #1114 from stilor/strip-vendor
...
Allow removing vendor part of the tuple
4 years ago
Alexey Neyman
b0d954f0ec
Allow short "moxiebox" alias
...
... while making use of the new tunables.
Also, unmark the moxie-elf as broken: the ld scripts installed by newlib
can be found by the compiler and can link the binaries. Why the default
script is broken is not ct-ng's problem...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
5cf859d9d9
Add config flags for omitting 'arch' and 'vendor'
...
... parts of the config tuple. While here, remove parts that are
setting portions of the target tuple to a value that's already
the default.
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
afb17244d2
Run through 'ct-ng updatetools'
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
1f65837c01
Merge pull request #1112 from stilor/moxie-fix
...
Moxie fix
4 years ago
Alexey Neyman
7a7a20bfee
Moxiebox requires target to be LE
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
e85ec884ad
Use -mel/-meb for moxie
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
854b18b2ac
Disallow selection of "both endianness"
...
... if the architecture only supports single endianness selection.
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
8bee41d734
Remove a TBD
...
It only applied to core-pass-2 compiler; final compiler can locate
the linker script just fine.
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago
Alexey Neyman
2a4ea327b6
Merge pull request #1111 from stilor/gcc-7.4
...
Import GCC 7.4.0
4 years ago
Alexey Neyman
faa7849782
Import GCC 7.4.0
...
Signed-off-by: Alexey Neyman <stilor@att.net>
4 years ago