summaryrefslogtreecommitdiff
path: root/scripts/saveSample.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07Remove the need for configure substitutions in scriptsAlexey Neyman1-110/+0
... so that scripts/ directory can be installed verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-18Pin sparc-leon to GCC6, againAlexey Neyman1-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>
2017-07-08Fix the references to old config variablesAlexey Neyman1-2/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-08Fix debuild warnings/errorsAlexey Neyman1-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>
2017-04-23Use config from the install locationAlexey Neyman1-1/+1
... no need to create a local symlink. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Require GNU sedAlexey Neyman1-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>
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-3/+3
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-27Revert "Fix breakage from sed_r change in some auxiliary scripts"Alexey Neyman1-1/+1
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
2017-02-16Fix breakage from sed_r change in some auxiliary scriptsAlexey Neyman1-1/+1
... do not overquote the variables from paths.sh. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-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>
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(-)