Commit Graph

49 Commits (e149e28e57de91cad96033047872d84e6938ea23)

Author SHA1 Message Date
Alexey Neyman 40d5bf6440 Add moxiebox as a choice for libc
This required some rework of the libc selection, as moxiebox is a layer on
top of another libc - newlib.

Also, moxiebox'es host VM (`sandbox`) needs a libcrypto on the host. We will
not have it if we're cross-compiling a canadian cross. Fortunately, all moxiebox
needs from libcrypto is SHA256, and it already includes a standalone implementation
of SHA256 in its runtime. Provide a little wrapper that allows moxiebox use
that implementation for the host binary, too.

Also, automate collecting/printing the list of all packages in a given category
(e.g. LIBC or COMP_TOOLS), generate a list of all Kconfig symbols for a given
category.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman ca7edf2fa3 Abbreviate to 7 characters when building out of git
Otherwise, release tarballs look weird with strings varying in length.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 71d85c9e16 Include testing/ into the release.
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 2d6ecbda6b Move the last bits of release creation into Makefile.am
Fixes #938.

Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman d14adeb1d9 Use git-version-gen to generate version info
Suggested-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman d7ee16cb28 Make patch order overridable by individual packages
Signed-off-by: Alexey Neyman <stilor@att.net>
5 years ago
Alexey Neyman 3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman bb6c97551f User manual installation
... when running from a release tarball.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 56d785bd00 Docs installation
- Move downloading the pages from a website to a separate script, invoke
  as dist hook
- Install manpage

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 66ad1ff514 Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng

MPC vs MPFR dependencies required modifications in auto-generated templates
to also provide non-inclusive older-than/newer-than specifications.

Also correct MPC URLs, the website seems to have adjusted its directory
layout.

Currently, newlib 3.0.0 doesn't build for arm-nano-eabi.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman bfd5a9b6ba Add a summary of the operations
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 2a1935f3ad Retire old scripts for handling patches
Also rename test-packages -> manage-packages, it is no longer just testing.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 723a97fdd3 Add an ability to refresh/renumber patches
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 9fdb93cce0 Make comp.libs use generated templates, too
This allows us to include the component-to-package relation in the
generated kconfig files and make use of that information in the
show-config.sh script.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 63e91f4eba A few fixes for showSamples
- Use fork's name, not the master package name
- Allow to use a choice selector when printing a package
- Consider complibs always present (they are, gcc does require gmp/...)

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman e29091ec06 Add an ability to download signatures from test-packages.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 48a949cf60 Add an ability to verify the digest/signature
Fixes #611.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman ff4485ad30 Update gcc-linaro to 2017.08
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman a5c16ae304 Allow test-package.sh to be used in a clean tree
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 1e4eeb5c3b Workaround for static uClibc-ng issue with -lpthread
Also, preserve .config when running test-package.sh.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 961ea19382 Allow loops to skip entries if certain variable is kept
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 4c1a12f5dd Add "postprocessing" to substituted variables
... and reduce the number of variables defined explicitly.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman b2e2771f85 MPC: older releases are only on master site
Also, Linux stopped making .bz2 tarballs on recent 3.x branches.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 373f22648f Skip ftp:// URLs, wget cannot verify them
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman f8d4ce3d0e Implement a script for checking packages
Then use this script to check that all packages can be extracted and patched.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman d26dc5d5f5 Use per-package list of formats to determine downloads
Fixes #789

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 9d91f44bc8 Separate the notions of package name/label
Also, remove resolved TBDs.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman ae71ce4106 Kconfigize choice/menu items
Also, add a poor man's upgrade script.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
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>
6 years ago
Alexey Neyman f63fbd356f Allow for custom archive names
... and directories therein.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
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>
6 years ago
Alexey Neyman b155ce6ab8 Encode GCC/ISL/CLooG requirements
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
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>
6 years ago
Alexey Neyman ee983f5f92 Downloading packages using new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 567277099a Fix the references to old config variables
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 57426168ad Convert the rest of packages to new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman e7deac3aad Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman b9af225f58 Implement "milestones" for packages
Also get rid of dependency on GNU sort.

Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 5935d586e1 Convert gcc to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman d589df4ebe Switch to template-based approach
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 2c615fa62c More work-in-progress.
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 0a654319f9 First stab at gen-versions.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
6 years ago
Alexey Neyman 2f286ce5ab Retire BACKEND stuff
... it is possible to just not set it in the configuration, why force
it? It just increases the complexity in Kconfig.

Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago
Alexey Neyman 105e4b59b7 Get rid of config.gen
Instead, prepare the files as a part of bootstrap and install them.
This avoids rebuilding these files in each working directory; they
don't change anyway as they are generated from the same installed
source.

Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago
Alexey Neyman 32231e9200 Go into subdirectory when checksumming/signing
Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago
Alexey Neyman 83ebd3f433 Add tarball signing to release script
Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago
Alexey Neyman de4433298a Add a release creation script
One TBD left is the signing of the tarballs.

Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago
Alexey Neyman 3906acc007 Move some scripts to a new directory, maintainer
... which are not of much interest to the end user.

Signed-off-by: Alexey Neyman <stilor@att.net>
7 years ago