aboutsummaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* scripts: If paths.sh is included, use the variablesBryan Hundven2015-05-091-3/+3
| | | | | | | This commit changes sed, awk, and grep to use the ones we found during configure time. This helps make the build more consistent. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* samples: use savedefconfig when saving samplesYann E. MORIN"2012-05-071-5/+11
| | | | | | | | | | | | | When saving a sample, use savedefconfig instead of copying the full .config file. This reduces the saved .config, and reduces clutter when it is later upgraded. Also use defconfig when retrieving a sample. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* samples: . accepts previous comment as-isYann E. MORIN"2012-04-091-3/+7
| | | | | | | When updating a sample configuration with a comment, a dot '.' in the new comment keeps the previous comment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts: fix tools overrideYann E. MORIN"2012-01-161-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>
* config: don't require .config.2 to save a sampleYann E. MORIN"2011-07-311-3/+4
| | | | | | | Samples should contain kconfig-parsable definitions, not script variables. .config.2 contains bash arrays, which is definitely not kconfig-safe... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* scripts: munge .config to handle array variablesYann E. MORIN"2011-05-191-3/+5
| | | | | | | | 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>
* scripts/savesample: be silent when checking for .config fileYann E. MORIN"2010-04-221-1/+4
|
* samples: correclty fix saving samples with a C library config fileYann E. MORIN"2009-09-131-1/+1
|
* samples: fix saving samplesYann E. MORIN"2009-09-121-1/+1
| | | | Use a correct sed pattern when setting CT_PREFIX_DIR
* [samples] Don't mix canadian samples with non-canadian ones.Yann E. MORIN"2009-06-261-0/+1
| | | | | | - 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
* [samples] Make saveSample.sh a little bit more genericYann E. MORIN"2009-06-261-12/+15
| | | | | | Prepare saving canadian samples by making the saveSample.sh script a little bit more generic, using conditional code-paths (even if there's currently a single code-path).
* There's no longer any reason to require GNU awk:Yann E. MORIN"2009-04-201-2/+2
| | | | | | | | | | | | | | | - the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
* Set the execute bit on generated script at build time, not install time.Yann E. MORIN"2009-04-201-0/+0
| | | | | | | | | Do not advertise "make install" when ./configure-d with "--local". -------- diffstat follows -------- /trunk/configure | 8 5 3 0 +++++--- /trunk/Makefile.in | 10 3 7 0 +++------- 2 files changed, 8 insertions(+), 10 deletions(-)
* Warn the user when he/she tries to save a sample that uses local patchesYann E. MORIN"2009-03-031-1/+17
| | | | | | | and/or custom Linux kernel headers. /trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
* Use tools discovered by ./configure in scripts/saveSample.shYann E. MORIN"2009-02-011-0/+110
/trunk/Makefile.in | 7 6 1 0 ++++++- /trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-)