aboutsummaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* Remove the need for configure substitutions in scriptsAlexey Neyman2018-04-071-110/+0
| | | | | | ... so that scripts/ directory can be installed verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
* Pin sparc-leon to GCC6, againAlexey Neyman2017-07-181-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>
* Fix the references to old config variablesAlexey Neyman2017-07-081-2/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix debuild warnings/errorsAlexey Neyman2017-06-071-2/+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>
* Use config from the install locationAlexey Neyman2017-04-221-1/+1
| | | | | | ... no need to create a local symlink. Signed-off-by: Alexey Neyman <stilor@att.net>
* Require GNU sedAlexey Neyman2017-02-261-1/+1
| | | | | | | | | | | | After much struggling with macos (BSD) sed and even getting everything work in crosstool-ng itself, I had to abandon that because some components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}' (note absense of the separator after 'g'). So, revert the -r/-E detection and check for sed's being of GNU origin. MacOS people, sorry, but you'd have to install GNU sed. Signed-off-by: Alexey Neyman <stilor@att.net>
* Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman2017-02-261-3/+3
| | | | This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
* Revert "Fix breakage from sed_r change in some auxiliary scripts"Alexey Neyman2017-02-261-1/+1
| | | | This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
* Fix breakage from sed_r change in some auxiliary scriptsAlexey Neyman2017-02-161-1/+1
| | | | | | ... do not overquote the variables from paths.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
* Determine whether -E/-r option selects extended regexpAlexey Neyman2017-02-131-3/+3
| | | | | | | | | | | | | | ... 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>
* Simplify config saving.Alexey Neyman2017-01-191-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.
* Get rid of .config.2.Alexey Neyman2017-01-191-3/+1
| | | | | | Now handled by CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* Install canadian crosses into a separate subdir.Alexey Neyman2017-01-191-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>
* Linux: Remove obsolete Linux custom headersBryan Hundven2015-12-081-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>
* 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(-)