aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Add -D__GLIBC__ to target CFLAGSAlexey Neyman2017-09-306-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>
* expat 2.2.4 dropped INSTALL_ROOTAlexey Neyman2017-09-291-1/+1
| | | | | | ... in favor of its alias, DESTDIR. Before, it supported both. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add digests for all packagesAlexey Neyman2017-09-291-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>
* Add an ability to verify the digest/signatureAlexey Neyman2017-09-272-44/+169
| | | | | | Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use the new SuperH fixes in the two multilib samplesAlexey Neyman2017-09-034-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>
* Workaround for static uClibc-ng issue with -lpthreadAlexey Neyman2017-09-034-39/+73
| | | | | | Also, preserve .config when running test-package.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
* Super-H multilib toolchain fixesAlexey Neyman2017-09-035-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>
* config: Add package versioning flexibilityNathan Chancellor2017-09-015-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>
* Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman2017-08-261-2/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix glibc-ports with the new frameworkAlexey Neyman2017-08-264-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>
* Implement a script for checking packagesAlexey Neyman2017-08-231-4/+1
| | | | | | Then use this script to check that all packages can be extracted and patched. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix PPC64LE by supplying --with-glibc-versionAlexey Neyman2017-08-222-0/+25
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Save export status for environment varsAlexey Neyman2017-08-214-33/+61
| | | | | | | | ... and limit our modifications to our variables. Fixes #762. Signed-off-by: Alexey Neyman <stilor@att.net>
* Reject set-but-empty environment variablesAlexey Neyman2017-08-211-11/+11
| | | | | | | | ... which also lead to cryptic failures. Fixed #743. Signed-off-by: Alexey Neyman <stilor@att.net>
* Check for config file changes when restartingAlexey Neyman2017-08-212-1/+8
| | | | | | | | Also, save/restore per-target source directory. Fixes #800. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use per-package list of formats to determine downloadsAlexey Neyman2017-08-192-62/+37
| | | | | | Fixes #789 Signed-off-by: Alexey Neyman <stilor@att.net>
* Record tarball formatsAlexey Neyman2017-08-181-0/+4
| | | | | | Also, missed upgrades of gmp, isl, mingw-w64 Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #801 from stilor/regressionsAlexey Neyman2017-08-162-4/+4
|\ | | | | Regressions
| * Fix version check in mingw-w64Alexey Neyman2017-08-161-3/+3
| | | | | | | | | | | | Fixes #782. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Fix DoLog -> DoExecLogAlexey Neyman2017-08-161-1/+1
| | | | | | | | | | | | Fixes #788. Signed-off-by: Alexey Neyman <stilor@att.net>
* | scripts: remove superfluous dotKirill Smirnov2017-08-031-2/+2
|/ | | | | | | Tarball extensions list already contains leading dot, do not add another one. Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
* Pin sparc-leon to GCC6, againAlexey Neyman2017-07-181-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>
* Fix archive yymm directoryAlexey Neyman2017-07-171-0/+1
| | | | | | In case there is a "patchlevel" suffix. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix linaro downloaderAlexey Neyman2017-07-171-1/+1
| | | | | | Fixes #779. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix new framework for running from installed pathAlexey Neyman2017-07-161-1/+1
| | | | | | Fixes #777 Signed-off-by: Alexey Neyman <stilor@att.net>
* Resolve a few more TBDsAlexey Neyman2017-07-093-9/+8
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix xtensa overlaysAlexey Neyman2017-07-081-12/+24
| | | | | | They are unpacked properly, but fail during build. Signed-off-by: Alexey Neyman <stilor@att.net>
* Separate the notions of package name/labelAlexey Neyman2017-07-084-5/+0
| | | | | | Also, remove resolved TBDs. Signed-off-by: Alexey Neyman <stilor@att.net>
* Some locations were missed while renaming kconfig symbolsAlexey Neyman2017-07-086-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>
* Kconfigize choice/menu itemsAlexey Neyman2017-07-083-2/+29
| | | | | | Also, add a poor man's upgrade script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow VCS versions to be patched via some unique revision IDAlexey Neyman2017-07-081-37/+39
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove support for pregenerated locales in uClibcAlexey Neyman2017-07-081-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>
* uClibc locale "package"Alexey Neyman2017-07-082-44/+53
| | | | | | Does not build, though. Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow for custom archive namesAlexey Neyman2017-07-082-9/+22
| | | | | | ... and directories therein. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fixes for buildingAlexey Neyman2017-07-083-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>
* Fix printing the branch used in GitAlexey Neyman2017-07-081-2/+17
| | | | | | | ... and prefer exact specified name, if it exists. More bootstrap script specifications for packages. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix downloading released tarballsAlexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Builds comp.libs from VCSAlexey Neyman2017-07-082-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>
* Building packages using the new frameworkAlexey Neyman2017-07-086-571/+415
| | | | | | (fails at building GMP off the VCS because it needs to run bootstrap scripts) Signed-off-by: Alexey Neyman <stilor@att.net>
* Downloading packages using new frameworkAlexey Neyman2017-07-083-125/+215
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix the references to old config variablesAlexey Neyman2017-07-0835-563/+250
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Convert the rest of packages to new frameworkAlexey Neyman2017-07-083-27/+27
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch comp.libs/tools and debug to new framework.Alexey Neyman2017-07-083-4/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Point bundled patches location to packages/Alexey Neyman2017-07-081-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>
* Merge pull request #773 from stilor/fix-bionic-32bitAlexey Neyman2017-07-071-2/+2
|\ | | | | Fix ARM32 name for android
| * Fix ARM32 name for androidAlexey Neyman2017-07-071-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>
* | scripts/nios2: do not override precomputed flagsKirill K. Smirnov2017-07-011-8/+2
|/ | | | Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* Add option to build gdbserver for target that does not require libstdc++.soNye Liu2017-06-161-0/+4
|
* Honor CFLAGS_FOR_BUILDAlexey Neyman2017-06-153-5/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Set CT_BUILD_DIR prior to using itChris Packham2017-06-151-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>