Commit Graph

4280 Commits

Author SHA1 Message Date
Alexey Neyman
ae71ce4106 Kconfigize choice/menu items
Also, add a poor man's upgrade script.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
6805245679 Allow VCS versions to be patched via some unique revision ID
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
ff0a1a3da6 Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
  options to the end - if it is undesirable, inclusion of *.in
  can be moved where *.in.2 used to be (but that will also move
  version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
  comprehensive script that tries to download the added tarballs,
  copy the patches and try to apply them, and create a version.desc).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
50a387afa7 Remove support for pregenerated locales in uClibc
It fails to compile with the only locale version available (030818)
(on master too, with exactly the same error).

uClibc-ng does not use pregenerated locales.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
16a56ed75b uClibc locale "package"
Does not build, though.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
f63fbd356f Allow for custom archive names
... and directories therein.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
d0ff020e23 Fixes for building
- Need GDB8.0 milestone
- Make uClibc "master" package
- Rename bionic -> android-ndk to match the package name and
  support suffixes for archives

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
b155ce6ab8 Encode GCC/ISL/CLooG requirements
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
c7a924a073 Fix printing the branch used in Git
... and prefer exact specified name, if it exists.
More bootstrap script specifications for packages.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
f672e3df89 Sync Linux versions with master
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
9cde8a61b0 Fix downloading released tarballs
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
bec14208a7 Builds comp.libs from VCS
... fails on DUMA because it cannot be compiled by newer C++, and patches
are not applied to checkouts from VCS.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
993b4acec5 Building packages using the new framework
(fails at building GMP off the VCS because it needs to run bootstrap scripts)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
ee983f5f92 Downloading packages using new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
567277099a Fix the references to old config variables
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
57426168ad Convert the rest of packages to new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
e7deac3aad Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
b9af225f58 Implement "milestones" for packages
Also get rid of dependency on GNU sort.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
5935d586e1 Convert gcc to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
d589df4ebe Switch to template-based approach
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
2c615fa62c More work-in-progress.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
85599c4743 Point bundled patches location to packages/
Also disable per-arch patch application: this doesn't play well with the
reuse of the sources in .build/src

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
0a654319f9 First stab at gen-versions.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:56:29 -07:00
Alexey Neyman
8f8e131d56 Merge pull request #774 from jserv/expat-security-fixes
Bump expat version to 2.2.1 for security fixes
2017-07-08 10:43:12 -07:00
Jim Huang
f996767927 Bump expat version to 2.2.1 for security fixes
Expat 2.2.0 and earlier were affected by CVE-2017-923. Expat 2.2.1
provides the corresponding security fixes.

Signed-off-by: Jim Huang <jserv.tw@gmail.com>
2017-07-09 00:57:32 +08:00
Alexey Neyman
6c07462bc6 Merge pull request #773 from stilor/fix-bionic-32bit
Fix ARM32 name for android
2017-07-07 15:11:03 -07:00
Alexey Neyman
6b813786ac Also rename the sample in Travis CI
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-07 12:42:08 -07:00
Alexey Neyman
1029dcf91a Fix ARM32 name for android
Must have eabi suffix for GCC to accept it. Also:
- We only have one glibc now, no need to account for eglibc.
- Rename aarch64 samples, eabi suffix does not apply to them
  (and ct-ng saveconfig was saving them into a different directory).

Fixes #772.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-07 12:38:32 -07:00
Alexey Neyman
ab5f883615 Merge pull request #766 from KirillSmirnov/nios2-sample
Nios2 fixes and a sample
2017-07-04 17:43:07 -07:00
Kirill K. Smirnov
04ef0deb85 samples: remove unnecessary option
The line CT_GETTEXT=y is remains from canadian sample. This cross
sample does not need it.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-07-05 02:51:17 +03:00
Kirill K. Smirnov
984ae94918 scripts/nios2: do not override precomputed flags
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-07-01 15:16:28 +03:00
Kirill K. Smirnov
a19d97c4dc samples: add a config for bare metal NIOS2
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-07-01 14:37:07 +03:00
Alexey Neyman
81327dd966 Merge pull request #763 from KirillSmirnov/nios2-arch
nios2: fix architecture features
2017-06-22 20:14:06 -07:00
Kirill Smirnov
f9faec58ad nios2: fix architecture features
Gcc for Nios II does not support -mcpu option, and --with-cpu=XXX flag
breaks gcc compilation. Use --with-arch instead.

Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
2017-06-22 21:24:05 +03:00
Alexey Neyman
fae66ae34f Merge pull request #761 from nyetwurk/PR-2-nyet
Add option to build gdbserver for target that does not require libstdc++.so
2017-06-17 13:53:00 -07:00
Nye Liu
50df064004 Add option to build gdbserver for target that does not require libstdc++.so 2017-06-16 22:28:07 -07:00
Alexey Neyman
f36f61faf4 Merge pull request #758 from stilor/cflags-for-build
Honor CFLAGS_FOR_BUILD
2017-06-16 10:38:54 -07:00
Alexey Neyman
1e37cd5450 Honor CFLAGS_FOR_BUILD
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-15 23:07:00 -07:00
Alexey Neyman
8758457c25 Merge pull request #757 from cpackham/travis-updates
Travis updates
2017-06-15 22:18:26 -07:00
Chris Packham
4c26ef6877 .travis.yml: include support for C++
This is required for building the latest gdb.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2017-06-16 13:53:07 +12:00
Chris Packham
8e1cfbdad1 .travis.sh: increase the number of jobs to run in parallel
The travis-ci.org vms have 2 cores so lets oversubscribe them a little
to speed things up.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2017-06-16 13:51:17 +12:00
Alexey Neyman
07a3b822f5 Merge pull request #750 from cpackham/master
Set CT_BUILD_DIR prior to using it
2017-06-15 10:22:41 -07:00
Chris Packham
a4feec224c Set CT_BUILD_DIR prior to using it
Fixes #731

CT_BUILD_DIR is used in CT_DoExecLog. We need to ensure that it is
set before the first call to CT_DoExecLog.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2017-06-15 16:29:21 +12:00
Alexey Neyman
f7c9ab33cf Merge pull request #747 from stilor/uclibc-25
Add uClibc-ng 1.0.25
2017-06-13 09:58:39 -07:00
Alexey Neyman
6417ea7a7f Merge pull request #748 from stilor/aarch-eabi
Make ARM32 option appear only if 32-bit is selected
2017-06-13 09:58:19 -07:00
Alexey Neyman
c0162ff475 Make ARM32 option appear only if 32-bit is selected
Fixes #745

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-13 00:19:30 -07:00
Alexey Neyman
2f1ff79386 Add uClibc-ng 1.0.25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-12 21:51:02 -07:00
Alexey Neyman
a9f8a8e675 Merge pull request #744 from stilor/msp430-ice-newlib
Declare msp430 experimental
2017-06-10 00:13:33 -07:00
Alexey Neyman
dc80274261 Declare msp430 experimental
... as GCC5 and later ICEs over inocuous code.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79242

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-10 00:11:51 -07:00
Alexey Neyman
a12374cdc0 Merge pull request #741 from stilor/rm-versions-dir
Remove accidentally added dir
2017-06-08 17:24:42 -07:00