summaryrefslogtreecommitdiff
path: root/scripts/showSamples.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Align script names with the ct-ng commandsAlexey Neyman1-103/+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 Neyman1-71/+23
- 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-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-07-08Downloading packages using new frameworkAlexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman1-8/+23
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-08Fix debuild warnings/errorsAlexey Neyman1-3/+0
- Update .gitignore, do not place .gitignore into directories installed in bulk - Remove executable permissions and shebangs from the scripts that are supposed to be invoked only via ct-ng frontent; prepend them with $(bash). Despite what showSamples.sh said, it already has some bashisms. - Remove --with autotools-dev and override dh_update_autotools_config to avoid having config.{sub,guess} clobbered with older versions - Install bash completion where Debian (now) expects it - Update man page to use .\" as the comment delimiter, instead of undefined macro (."); also, minor text edits. - Install kconfig.mk without execute permission. - Remove shell wrappers from 170-localedef-fix-trampoline.patch, we do not use that for applying patches - Revoke execute permissions on 210-expat.sh - Get flags from dpkg-buildflags if available Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14Print gcc version in the same way as the restAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-1/+1
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-1/+1
... and then use the right option. See the note in scripts/functions on where we should use ${foo} and where just 'foo'; this boils down to whether we can expect the build tools override to be in effect (e.g. in the actual build scripts) or not (i.e. outside of scripts/build). While running in scripts/functions, or in scripts/crosstool-NG.sh the build tools override directory (.build/tools/bin) may have not been set up (yet, or at all). Also, modify the installed scripts (populate, xldd) accordingly. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Kill dmalloc.Alexey Neyman1-1/+0
- No new releases in almost 10 year. - No public bug tracker or VCS. - No responses from maintainer over sent patches. RIP, dmalloc. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-12-08Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven1-4/+4
We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-30PPL: Remove support for PPL and CLooG/PPLBryan Hundven1-4/+4
Now that versions of gcc that required PPL are no longer supported ( >= gcc-4.5.x AND <= gcc-4.7.x ) ...we no longer require PPL or CLooG/PPL. This commit: * Removes PPL * Removes CLooG/PPL * Updates the documentation * Updates build script for CLooG and GCC * Removes PPL and CLooG/PPL from scripts/addToolVersion.sh and scripts/showSamples.sh * Adds ISL to scripts/addToolVersion.sh and scripts/showSamples.sh I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-17showSamples: Fix uClibc-ng name and Mingw-w64 versionsBryan Hundven1-4/+14
Some LIBCs need some love in showSamples.sh. uClibc-ng is of type of uClibc, so output uClibc-ng if CT_LIBC_UCLIBC_NG=y. mingw-w64 doesn't have a CT_LIBC_VERSION, but it does have a CT_WINAPI_VERSION. So output that instead. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-17showSamples.sh: Fix how we get gcc and version for showSamples.shBryan Hundven1-12/+8
I'm not even sure how the previous loop was supposed to work. The config variables are not exported to the environment. Now we properly get which cc we are using and grab the version to display it correctly with the output of wiki-samples. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13Change ncurses to a companion library.Alexey Neyman1-7/+10
Currently, builds for build and target (matching the current implementation). Need to add building for host for canadian crosses. TIC_PATH is removed - configure in ncurses searches $PATH, so it finds 'tic' in buildtools anyway. Arguably unneeded code for MacOS also removed, with a FIXME comment for validation by someone using MacOS. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-13Convert expat for target into a companion lib.Alexey Neyman1-0/+3
Expat-for-host to be done. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Make show-config consistent with sample name.Alexey Neyman1-1/+6
'ct-ng show-config' will prepend host for canadian builds; otherwise, the name is different from the name used to configure the build (and indistinguishable from a simple cross). Signed-off-by: Alexey Neyman <stilor@att.net>
2015-06-01showSamples: Update showSamples.sh for multiple compilersRay Donnelly1-4/+18
This change adds support to show samples for multiple compilers. Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Reviewed-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: Yann Diorcet <diorcetyann@gmail.com>
2015-05-10showSamples: Update to use variables from paths.shBryan Hundven1-2/+2
This change modifies the use of sed and awk to use the variables set by paths.sh during the installation process of crosstool-NG. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2014-06-28scripts: another change needed for the Hg->git conversionYann E. MORIN1-4/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-26scripts: first batch of hg->git conversionYann E. MORIN1-0/+3
Replace calls to 'hg' with as-close-as-possible equivalents in git. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-11-08cc/gcc: Add support for golangYann E. MORIN"1-0/+1
Signed-off-by: Richard Weinberger <richard@nod.at> Message-Id: <ca374aef944e28a6ec3c.1383921708@azrael> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-08-01scripts/showSample: also print the threading implementationYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-07-23scripts+samples: fix listings the samplesYann E. MORIN"1-36/+23
Since we use defconfigs to save the samples, listing all the samples can no longer be done by passing all the sample names at one to the script; we need to pass them one-by-one after we expand the sample's defconfig ibnto a complete .config. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07samples: rework show-tupleYann E. MORIN"1-4/+3
Now that we are using defconfig files, the samples do not contain the full configuration, so we can not simply parse them to show their content. Instead, we must fake recalling a sample, and parse the generated .config file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-01-16scripts: fix tools overrideYann E. MORIN"1-1/+1
The tools found by the new autostuff configure can contain arguments, for example: grep -E This needs separating the paths set for the Makfile from the paths set for the scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-14scripts: use the floating-point string option in testsYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"1-1/+1
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-17misc: fix more typos here and there...Yann E. MORIN"1-1/+1
Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-19scripts: munge .config to handle array variablesYann E. MORIN"1-0/+1
Transfrom array variables from pure strings (in the kconfig output) into proper bash arrays declarations, for feeding to the build scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-04-24scripts: small eye-candy in the wiki tableYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-4/+6
- don't list samples in the main help screen - improve the samples listing in list-samples - don't document the 'config' action, it's long dead - document the 'V' environment variable - improve on START, STOP and PREFIX environment variables - add PREFIX and V to autocomplete - advertise auto-complete at install time
2010-03-19scripts: fix dumping the config for companion libraries for targetYann E. MORIN"1-6/+12
Companion libraries can be disable for the host, but still used for the target (eg. binutils or gdb). Dump the version also in this case.
2010-03-17scripts: fix dumping configYann E. MORIN"1-3/+7
libelf has been moved to being a companion library, now.
2010-02-17complibs: split-up selection for individual libsYann E. MORIN"1-6/+13
2010-02-07scripts/showsamples: fix non-POSIX constructYann E. MORIN"1-1/+1
2010-01-31scripts: dump the current tuple with show-configYann E. MORIN"1-0/+2
2010-01-31scripts: add action to dump current configuration in humane-readable formYann E. MORIN"1-8/+15
2010-01-03samples: fix displaying samplesYann E. MORIN"1-2/+2
2009-11-25scripts: directly spit-out the date in the WiKi table, misc eye-candyYann E. MORIN"1-4/+4
No need to go through a post-processing just for displaying the date...
2009-11-25scripts: fix Host/Target colums in WiKi tableYann E. MORIN"1-11/+15
Generate a better-looking WiKi table by re-arranging the host and target columns.
2009-11-25scripts: fix WiKi table generationYann E. MORIN"1-2/+2
The number of column in the top-most header was not updated to reflect the fact that a new column was added to show the host (for canadian crosses).
2009-09-07samples: show the PPL, GLoog/ppl and MPC versionsYann E. MORIN"1-1/+4
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07samples: fix displaying selected toolsYann E. MORIN"1-7/+7
Do display selected tools / debug facilities when displaying a sample.
2009-09-07samples: replace usage of echo with printfYann E. MORIN"1-9/+10
Using printf instead of echo allows easier and better formatting.
2009-06-26[samples] Don't mix canadian samples with non-canadian ones.Yann E. MORIN"1-9/+15
- save the canadian smples in their own way, so as not to mix non-canadian samples with canadian ones - list canadian samples with the host information