summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-07-08Building packages using the new frameworkAlexey Neyman6-571/+415
(fails at building GMP off the VCS because it needs to run bootstrap scripts) Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Downloading packages using new frameworkAlexey Neyman3-125/+215
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman35-563/+250
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Convert the rest of packages to new frameworkAlexey Neyman3-27/+27
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch comp.libs/tools and debug to new framework.Alexey Neyman3-4/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Point bundled patches location to packages/Alexey Neyman1-5/+4
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-07Merge pull request #773 from stilor/fix-bionic-32bitAlexey Neyman1-2/+2
Fix ARM32 name for android
2017-07-07Fix ARM32 name for androidAlexey Neyman1-2/+2
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-01scripts/nios2: do not override precomputed flagsKirill K. Smirnov1-8/+2
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2017-06-17Add option to build gdbserver for target that does not require libstdc++.soNye Liu1-0/+4
2017-06-16Honor CFLAGS_FOR_BUILDAlexey Neyman3-5/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-15Set CT_BUILD_DIR prior to using itChris Packham1-1/+1
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>