summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2017-01-20Simplify config saving.Alexey Neyman1-8/+11
Instead of hardcoding defaults in saveSample.sh.in, have the same defaults in config. Then we can just remove them when saving the config.
2017-01-20Get rid of .config.2.Alexey Neyman1-3/+1
Now handled by CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-20Install canadian crosses into a separate subdir.Alexey Neyman1-30/+1
Makes them sorted out by host, and removes the need for similar hack in samples.mk. Change how canadian crosses are named: using `=' character resulted in Glibc build failure. Move loading config into a common function, CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-12-08Linux: Remove obsolete Linux custom headersBryan Hundven1-6/+0
This option allowed you to use a custom headers directory/tarball to use in your sysroot. Not to be confused with using a custom source, that option is the preferred method. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2015-05-10scripts: If paths.sh is included, use the variablesBryan Hundven1-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>
2012-05-06samples: use savedefconfig when saving samplesYann E. MORIN"1-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>
2012-04-09samples: . accepts previous comment as-isYann E. MORIN"1-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>
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-07-30config: don't require .config.2 to save a sampleYann E. MORIN"1-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>
2011-05-19scripts: munge .config to handle array variablesYann E. MORIN"1-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>
2010-04-22scripts/savesample: be silent when checking for .config fileYann E. MORIN"1-1/+4
2009-09-13samples: correclty fix saving samples with a C library config fileYann E. MORIN"1-1/+1
2009-09-11samples: fix saving samplesYann E. MORIN"1-1/+1
Use a correct sed pattern when setting CT_PREFIX_DIR
2009-06-26[samples] Don't mix canadian samples with non-canadian ones.Yann E. MORIN"1-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
2009-06-26[samples] Make saveSample.sh a little bit more genericYann E. MORIN"1-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).
2009-04-20There's no longer any reason to require GNU awk:Yann E. MORIN"1-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(-)
2009-04-20Set the execute bit on generated script at build time, not install time.Yann E. MORIN"1-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(-)
2009-03-03Warn the user when he/she tries to save a sample that uses local patchesYann E. MORIN"1-1/+17
and/or custom Linux kernel headers. /trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
2009-02-01Use tools discovered by ./configure in scripts/saveSample.shYann E. MORIN"1-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(-)