summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Align script names with the ct-ng commandsAlexey Neyman2-0/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-20showConfig.sh no longer has anything substitutedAlexey Neyman2-1/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-20Retire wiki-printerAlexey Neyman1-122/+39
It is not used anymore and is currently broken. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-11-20A few fixes for showSamplesAlexey Neyman2-85/+52
- 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>
2017-11-20scripts/showSamples.sh: support custom package versionsSergey Korolev1-31/+40
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-20scripts/functions: add CT_GetPkgBuildVersionSergey Korolev1-0/+22
This allows to get a configured custom version of a package. Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-19add RISC-V architecture supportAntony Pavlov1-0/+5
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
2017-11-12showSamples.sh: fix description of a selected tool setSergey Korolev1-5/+4
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-12showSamples.sh: fix uClibc-ng detectionSergey Korolev1-1/+1
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-11use ${CT_${cc}_VERSION} to show a compiler versionSergey Korolev1-2/+2
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-10-20When handling overlay, move rather than symlinkAlexey Neyman1-1/+5
... as 'tar' does not follow symlink, rather creating a new directory instead. Fixes #846. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-01Do not change {pkg}_VERSIONAlexey Neyman1-21/+18
Instead, use new variable ${pkg_dir} to locate auxiliary files. Fixes #838. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-01Add -D__GLIBC__ to target CFLAGSAlexey Neyman6-17/+44
... when using musl to compile strace. Also, honor CT_TARGET_CFLAGS in scripts compiling target libs/binaries. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30expat 2.2.4 dropped INSTALL_ROOTAlexey Neyman1-1/+1
... in favor of its alias, DESTDIR. Before, it supported both. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30Add digests for all packagesAlexey Neyman1-8/+20
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>
2017-09-28Add an ability to verify the digest/signatureAlexey Neyman2-44/+169
Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Use the new SuperH fixes in the two multilib samplesAlexey Neyman4-6/+114
- Glibc configure args and tuple need adjustment on SuperH - Only allow "both endian" and "with CPU" for unspecified arch variant. May reconsider endianness (was breaking things before adjusting glibc tuple) - Retire non-multilib sample, it should be a subset of the multilib one now. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Workaround for static uClibc-ng issue with -lpthreadAlexey Neyman4-39/+73
Also, preserve .config when running test-package.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-03Super-H multilib toolchain fixesAlexey Neyman5-38/+60
1. On SuperH, configuring GCC with explicit variant of the CPU (like "sh4") limits the default set of multilibs to just that CPU and requires --with-multilib-list to change. Allow for "unspecified" variant, so that we can defer to GCC to determine the list. 2. Support toolchains with both endiannesses at the same time. 3. Add a SuperH/newlib sample 4. Add more flags processing for uClibc Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-01config: Add package versioning flexibilityNathan Chancellor5-8/+12
Some users (like myself) may want to omit the crosstool-NG version from the binaries' versioning output, as it can be incredibly long and not too helpful. Add a config option to disable it. The possible combinations are as follows: - crosstool-NG version (default) - crosstool-NG version - custom toolchain ID - Custom toolchain ID - No crosstool-NG version OR custom toolchain ID Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2017-08-26Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman1-2/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26Fix glibc-ports with the new frameworkAlexey Neyman4-64/+97
While here, also consider patched by anything other than "bundled patches" as per-target sources. Add scary warnings in case of a failure. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23Implement a script for checking packagesAlexey Neyman1-4/+1
Then use this script to check that all packages can be extracted and patched. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-22Fix PPC64LE by supplying --with-glibc-versionAlexey Neyman2-0/+25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21Save export status for environment varsAlexey Neyman4-33/+61
... and limit our modifications to our variables. Fixes #762. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21Reject set-but-empty environment variablesAlexey Neyman1-11/+11
... which also lead to cryptic failures. Fixed #743. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-21Check for config file changes when restartingAlexey Neyman2-1/+8
Also, save/restore per-target source directory. Fixes #800. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-19Use per-package list of formats to determine downloadsAlexey Neyman2-62/+37
Fixes #789 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-19Record tarball formatsAlexey Neyman1-0/+4
Also, missed upgrades of gmp, isl, mingw-w64 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-17Merge pull request #801 from stilor/regressionsAlexey Neyman2-4/+4
Regressions
2017-08-16Fix version check in mingw-w64Alexey Neyman1-3/+3
Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-16Fix DoLog -> DoExecLogAlexey Neyman1-1/+1
Fixes #788. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-03scripts: remove superfluous dotKirill Smirnov1-2/+2
Tarball extensions list already contains leading dot, do not add another one. Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
2017-07-18Pin sparc-leon to GCC6, againAlexey Neyman1-2/+2
Also, change the name for uClibc config to be version-agnostic, the version changes too fast. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-17Fix archive yymm directoryAlexey Neyman1-0/+1
In case there is a "patchlevel" suffix. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-17Fix linaro downloaderAlexey Neyman1-1/+1
Fixes #779. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-17Fix new framework for running from installed pathAlexey Neyman1-1/+1
Fixes #777 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10Resolve a few more TBDsAlexey Neyman3-9/+8
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-09Fix xtensa overlaysAlexey Neyman1-12/+24
They are unpacked properly, but fail during build. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Separate the notions of package name/labelAlexey Neyman4-5/+0
Also, remove resolved TBDs. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Some locations were missed while renaming kconfig symbolsAlexey Neyman6-70/+10
... because there the symbols were constructer part by part. Also, remove cc.sh and source $(CT_CC).sh directly - we only build a single compiler at a time. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Kconfigize choice/menu itemsAlexey Neyman3-2/+29
Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Allow VCS versions to be patched via some unique revision IDAlexey Neyman1-37/+39
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Remove support for pregenerated locales in uClibcAlexey Neyman1-26/+4
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-08uClibc locale "package"Alexey Neyman2-44/+53
Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Allow for custom archive namesAlexey Neyman2-9/+22
... and directories therein. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fixes for buildingAlexey Neyman3-16/+15
- 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-08Fix printing the branch used in GitAlexey Neyman1-2/+17
... and prefer exact specified name, if it exists. More bootstrap script specifications for packages. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix downloading released tarballsAlexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Builds comp.libs from VCSAlexey Neyman2-10/+33
... 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>