summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30Ncurses fixes for 6.1Alexey Neyman3-4/+24
- Update to 20180129 - Throw in --disable-db-install if database is disabled; otherwise 'make install' tries to run tic which is not built. - Select appropriate strip utility for the host; otherwise non-x86 architectures fail to install (unless --disable-stripping is also added) Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-25Merge pull request #900 from stilor/issue-897Alexey Neyman1-2/+6
Only decorate TARGET_ARCH if using specific CPU
2018-01-22Only decorate TARGET_ARCH if using specific CPUAlexey Neyman1-2/+6
Otherwise, binutils don't recognize it as a valid target - even though GCC does. Fixes #897. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-17Fix gdb build flags formingSergey Korolev1-10/+12
Build flags are scalar variables. Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-17Merge pull request #882 from ksergeyv/gdb-linkAlexey Neyman1-80/+106
Fix variables passing to gdb configure scripts
2017-12-14Fix variables passing to gdb configure scriptsSergey Korolev1-80/+106
These changes mainly fix static linking errors when building static native gdb and gdbserver (tested with gcc 7.2.0 + uClibc-ng 1.0.27 + binutils 2.29.1 for MIPS): [ALL ] .../lib/libstdc++.a(eh_throw.o): In function `__cxa_throw': [ALL ] (.text.__cxa_throw+0x64): undefined reference to `_Unwind_RaiseException' [ALL ] (.text.__cxa_throw+0x6c): undefined reference to `_Unwind_RaiseException' [ALL ] .../lib/libstdc++.a(eh_throw.o): In function `__cxa_rethrow': [ALL ] (.text.__cxa_rethrow+0x78): undefined reference to `_Unwind_Resume_or_Rethrow' [ALL ] (.text.__cxa_rethrow+0x80): undefined reference to `_Unwind_Resume_or_Rethrow' ... The problem is in mixing of CPP, CC, CXX, and LD with CPPFLAGS, CFLAGS, CXXFLAGS, and LDFLAGS before passing to configure scripts. gcc is sensitive to argument order and the scripts are normally responsible to combine the variables in a proper way. Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-12-13Do not build a native gdbserver automaticallySergey Korolev1-0/+4
Signed-off-by: Sergey Korolev <s.korolev@ndmsystems.com>
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman2-39/+78
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>
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>