aboutsummaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade script for uClibc retirementAlexey Neyman2022-02-111-0/+4
| | | | | | | | | | | | | | | | | | Run samples through upgrade and fix accumulated breakages: *-centos6-*: After 2.12.2 retirement, the samples selected most recent glibc (2.34) which also forced kernels 3.2+. Revert to 2.12.1 and 2.6.32.71, respectively. Interestingly, 2.12.1 was marked as being used in CentOS6, but the samples selected 2.12.2. Anyway, CentOS6 is EOL now and glibc 2.12 is going to be marked obsolete, and retired soon. arc-*: Make TARGET_VENDOR match the sample's name; otherwise `ct-ng saveconfig` places the config file into a different location. Fix 'savedefconfig' which was not saving the configuration file version (CT_VCHECK was set to 'load' after CT_LoadConfig call). Signed-off-by: Alexey Neyman <stilor@att.net>
* Support out-of-tree local buildsAlexey Neyman2018-04-071-1/+0
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove the need for configure substitutions in scriptsAlexey Neyman2018-04-071-0/+110
| | | | | | ... so that scripts/ directory can be installed verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
* Use tools discovered by ./configure in scripts/saveSample.shYann E. MORIN"2009-02-011-107/+0
| | | | | | /trunk/Makefile.in | 7 6 1 0 ++++++- /trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-)
* Use 'gawk', not plain 'awk'.Yann E. MORIN"2008-10-291-2/+2
| | | | | | | | | | | We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'. Be a little mre verbose if a tool was not found. /trunk/configure | 7 4 3 0 ++++--- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 4 files changed, 15 insertions(+), 14 deletions(-)
* Fix saving samples, by Nye Liu:Yann E. MORIN"2008-10-231-1/+2
| | | | | | | http://sourceware.org/ml/crossgcc/2008-10/msg00070.html /trunk/scripts/saveSample.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* Add a 405fp soft-float PowerPC sample.Yann E. MORIN"2008-10-211-1/+1
| | | | | | | /trunk/scripts/saveSample.sh | 2 1 1 0 /trunk/samples/powerpc-405fp-linux-gnu/crosstool.config | 338 338 0 0 +++++++++++++++++++++++ /trunk/samples/powerpc-405fp-linux-gnu/reported.by | 3 3 0 0 + 3 files changed, 342 insertions(+), 1 deletion(-)
* Fix saving samples when the uClibc config file is already saved.Yann E. MORIN"2008-10-171-2/+2
| | | | | | | /trunk/scripts/saveSample.sh | 4 2 2 0 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 140 71 69 0 ++++++++------- /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by | 3 3 0 0 + 3 files changed, 76 insertions(+), 71 deletions(-)
* Introduce the notion of a 'sample comment'.Yann E. MORIN"2008-10-141-11/+35
| | | | | | | | | | | | | | | - presence of the sample's reported.by file is now mandatory. - when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file. - when saving a sample, one can store a few-liner comment. - when recalling a sample, the reporter name, URL and comment (if present) are printed. - update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail). - update all samples that were missing the reported.by file. /trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------ /trunk/scripts/showSamples.sh | 12 6 6 0 +++--- /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++ /trunk/samples/samples.mk | 22 17 5 0 +++++++++-- 4 files changed, 73 insertions(+), 22 deletions(-)
* saveSample: Reset CT_LOCAL_TARBALLS_DIR to defaultYann E. MORIN"2008-10-141-0/+1
| | | | | | | | | On Tuesday 14 October 2008 16:48:07 Nate Case wrote: > Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that > we don't save irrelevant paths in the samples. /trunk/scripts/saveSample.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
* Fix the saveSample script oafter architerctures reorganisationYann E. MORIN"2008-10-141-2/+2
| | | | | | | | | On Tuesday 14 October 2008 16:27:37 Nate Case wrote: > The saveSample.sh script is referring to the old architecture-specific > script path. Point to the new one, just as done in crosstool.sh. /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* The Linux kernel does not need a config file now that the old methods are ↵Yann E. MORIN"2008-09-151-13/+0
| | | | | | | | | removed. So, don't save the Linux kernel config file when saving a sample, there will never be such a file any longer. /trunk/scripts/saveSample.sh | 13 0 13 0 ------------- 1 file changed, 13 deletions(-)
* When saving a sample, overide log file config:Yann E. MORIN"2008-07-271-2/+4
| | | | | | | | - do log to a file - do compress the log file /trunk/scripts/saveSample.sh | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
* Don't use a progress bar when saving samples, it's ugly.Yann E. MORIN"2008-07-181-2/+5
| | | | | /trunk/scripts/saveSample.sh | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
* Only priunt WARNings when saving the current configuration.Yann E. MORIN"2008-06-221-5/+5
| | | | | | | Eye-candy in code. /trunk/scripts/saveSample.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
* Fix saving samples.Yann E. MORIN"2008-06-181-1/+1
| | | | | /trunk/scripts/saveSample.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* When saving a sample, force the prefix directory to be ↵Yann E. MORIN"2008-06-151-1/+3
| | | | | | | ${HOME}/x-tools/${CT_TARGET} . /trunk/scripts/saveSample.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
* Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"2008-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | $(command), which is POSIX. Get rid of all remaining \"text\" in log messages and replace them with 'text'. Optimise the progress bar, should go un-noticed at log level DEBUG and below. /trunk/scripts/build/tools/200-sstrip.sh | 16 8 8 0 ++-- /trunk/scripts/build/libc_glibc.sh | 50 25 25 0 +++++++------- /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 /trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 /trunk/scripts/build/debug/300-gdb.sh | 8 4 4 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +- /trunk/scripts/build/kernel_linux.sh | 30 15 15 0 ++++---- /trunk/scripts/build/cc_gcc.sh | 14 7 7 0 ++-- /trunk/scripts/crosstool.sh | 54 27 27 0 ++++++++-------- /trunk/scripts/functions | 128 64 64 0 ++++++++++++++++++------------------ /trunk/scripts/saveSample.sh | 4 2 2 0 /trunk/scripts/tarball.sh.broken | 20 10 10 0 +++--- /trunk/tools/addToolVersion.sh | 8 4 4 0 +- /trunk/tools/populate.in | 18 9 9 0 ++-- 15 files changed, 182 insertions(+), 182 deletions(-)
* Call architecture-specific functions from all scripts needing them.Yann E. MORIN"2007-09-161-0/+3
|
* Change "triplet" (target triplet) to "tuple". That sounds better!Yann E. MORIN"2007-08-151-2/+2
| | | | | Document overriding the number of // jobs. Some small documentation fixes.
* Merge the build system to trunk: ct-ng is now installable:Yann E. MORIN"2007-07-011-18/+13
| | | | | | | | - ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>
* scripts/functions is responsible for initiating the log file.Yann E. MORIN"2007-06-161-1/+2
| | | | Users of the log facility are in charge to use, move, delete this log file, now.
* Correctly handle the log level overide in scripts/saveSample.sh.Yann E. MORIN"2007-05-231-5/+5
| | | | Little eye candy in scripts/showSamples.sh.
* Upgrade scripts/tarball.sh and scripts/saveSample.sh to use the new logging ↵Yann E. MORIN"2007-05-221-4/+2
| | | | facility.
* Add uClibc-0.9.29:Yann E. MORIN"2007-05-191-2/+8
| | | | | | | - associated patch set - update the munging function to accomodate the new config variables libfloat version was missing from the previous commit... :-( Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
* Clean the sample saving script.Yann E. MORIN"2007-05-101-5/+3
|
* Fix glibc and uClibc downloading and extracting.Yann E. MORIN"2007-05-071-4/+20
| | | | | | Although we no longer need the kernel config file, we now need to specify the kernel source directory when installing headers. Re-order components downloading to match build order. Fix the saveSample.sh script in case the referenced files are the same as the destination files.
* Merge the save-sample branch to trunk:Yann E. MORIN"2007-05-071-0/+70
- reorder most of the environment setup, - geting, extracting and patching are now components' sub-actions, - save the current config as a sample to be used as a pre-configured target.