summaryrefslogtreecommitdiff
path: root/scripts/build/debug/200-duma.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-06-05Avoid adding arch/cpu/tune flags for target to GCC buildAlexey Neyman1-2/+2
... as it may need to override them for building runtime-selectable code. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-01Add -D__GLIBC__ to target CFLAGSAlexey Neyman1-2/+2
... when using musl to compile strace. Also, honor CT_TARGET_CFLAGS in scripts compiling target libs/binaries. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-10Resolve a few more TBDsAlexey Neyman1-1/+0
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Fix the references to old config variablesAlexey Neyman1-16/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-2/+2
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-2/+2
... 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-30Use 'make install' to install DUMAAlexey Neyman1-27/+28
This serves two purposes: - installs its manpage - installs headers, without them it does not make sense to install a static library Unfortunately, there's no way to select shared-only build of DUMA. Hence, disable selection for static library. Also, allow user to select whether to use stock or ct-ng's wrapper. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14Use ${CT_CC} instead of gcc ...Alexey Neyman1-3/+3
... when refering to target's compiler. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02Fix use of custom location if it is a directory.Alexey Neyman1-1/+1
In that case, CT_GetCustom just creates a symlink to the original. In that case, 'cp -a <path> .' gives an error and 'cp -a <path> <newdir>' creates <newdir> as a symlink (which will then run the build inside the shared directory, .build/src/<package>). Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-21Partially revert 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.Alexey Neyman1-4/+4
The referenced commit replaced 'make' with '${make}' everywhere. This is wrong for at least the utilities that we may build as companion tools (make, libtool): this will always invoke the version detected by configure by supplying the absolute path. In other words, the wrappers in .build/tools/bin are not fallbacks - they are either temporary (in case a respective companion tool is built) or permanent redirectors. This is the reason why the PATH= has .build/*/buildtools/bin at higher precedence than .build/tools/bin; the latter has the versions detected by configure and the former has the versions built as companion tools. Revert the rest of the gang (grep/sed/...) for consistency. After all, we may decide to supply some of them as well (awk, for instance). Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-17consistency: Use exported variables of required toolsBryan Hundven1-5/+5
We check for apps: * make * sed * grep * awk * libtool/libtoolize * install * patch * and more ...during configure. Our scripts should be consistent about using the variables that define where the found tool was found. Of course, we do hard-link these tools in buildtools, but that should be a backup for the components we are building. Our scripts should always use the tools we find. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2012-08-19scripts: use generic urls for sourceforgeBryan Hundven1-1/+1
For expat, duma, and strace, use the generic url and 302 to the mirror instead of trying to download a file from a downed mirror and failing. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Message-Id: <b69ebeb72fef93c04c84.1345364051@flambe.is-a-geek.org>
2012-06-10debug/duma: fix download urlYann E. MORIN"1-1/+6
Sourceforge has again changed its mirroring system... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-02-05scripts: fix download from sourceforgeYann E. MORIN"1-1/+1
It seems sourceforge changed yet again the way to download files. This time, no longer use their 'mesh' thingy, and hard-code the server to use in the URL... Sigh... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-11scripts/functions: make CT_Patch dumberYann E. MORIN"1-5/+1
It is the responsibility of the caller to split the package name from its version. It already knows that.
2010-01-12scripts/functions: change handling of nochdirYann E. MORIN"1-1/+1
- 'nochdir' must be the first option - have systematic pushd/popd, even if nochdir
2009-08-28duma: fix downloading by forcing extension to .tar.gzYann E. MORIN"1-2/+5
Downoading a non-existing file from sourceforge gives you a "200 OK" and an index.html. As we try to retrieve a .tar.bz2 first, and duma is bundled in a .tar.gz, we won't get appropriate content, so just force the extension to avoid the problem. Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
2009-03-08Use "grep -E" instead of the deprecated "egrep".Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
2009-03-06Fix extracting/patching DUMA:Yann E. MORIN"1-0/+1
- DUMA uses an underscore between the name and version, not a dash. /trunk/scripts/build/debug/200-duma.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2009-03-03Allow user to add a directory component in the sys-root path.Yann E. MORIN"1-3/+3
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR). As a side effect, fix creating lib64->lib symlinks. /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 | 6 3 3 0 +++--- /trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++--------- /trunk/scripts/functions | 2 1 1 0 +- /trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++ 8 files changed, 34 insertions(+), 19 deletions(-)
2009-01-05Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:Yann E. MORIN"1-11/+8
- it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons: - they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names - patches are against eithe the short or long name, but non-uniformly use one or the other - it is the reposibility of the component (glibc in this case) to handle corner cases such as those - update all components to use the new functions /trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +- /trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +- /trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +- /trunk/scripts/build/binutils.sh | 3 2 1 0 +- /trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +- /trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++-- /trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++-- /trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------ /trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++-- /trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++- /trunk/scripts/build/gmp.sh | 3 2 1 0 +- /trunk/scripts/build/mpfr.sh | 3 2 1 0 +- /trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++----------------- 18 files changed, 108 insertions(+), 69 deletions(-)
2009-01-05Fix building DUMA:Yann E. MORIN"1-1/+2
- DUMA separates its name from its version with an underscore, not with a dash. /trunk/scripts/build/debug/200-duma.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
2009-01-04Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.Yann E. MORIN"1-4/+1
CT_LIBC_FILE: - that one was not easy, as it had sneaked into CT_ExtractAndPatch - which in turn made CT_ExtractAndPatch have references to C library addons - which in turn relieved the C library _extract functions from doing their own job - which in turn imposed some nasty tricks in CT_ExtractAndPatch - which in turn made life easier for the DUMA _get and _extract functions - which unveiled some bizare behavior for pushd and popd: - if using smthg ike: 'pushd foo |bar': - the directory is *neither* changed - *nor* is it pushed onto the stack - which made popd fail CT_MakeAbsolutePath: - used only to make CT_LOCAL_TARBALLS_DIR canonical - which is ((almost) useless: - hopefully, the user entered a full path already - if it's not the case, too bad... /trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +-- /trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++--------------- /trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++--- /trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++----------- /trunk/scripts/crosstool.sh | 8 0 8 0 ---- /trunk/scripts/functions | 77 15 62 0 ++++++++-------------------------------- 6 files changed, 84 insertions(+), 131 deletions(-)
2009-01-03Get rid of all stuff related to building a /delivery' traball:Yann E. MORIN"1-4/+0
- building a delivery tarball has long been broken (since crostool-Ng is installable) - get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built /trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ---- /trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ---- /trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +---------- /trunk/scripts/build/binutils.sh | 4 0 4 0 ---- /trunk/scripts/build/cc/gcc.sh | 5 0 5 0 ----- /trunk/scripts/build/debug/000-template.sh | 11 0 11 0 ----------- /trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 ------- /trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ---- /trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ---- /trunk/scripts/build/libc/none.sh | 5 0 5 0 ----- /trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------ /trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ---------- /trunk/scripts/build/gmp.sh | 6 0 6 0 ------ /trunk/scripts/build/mpfr.sh | 6 0 6 0 ------ /trunk/docs/overview.txt | 9 0 9 0 --------- 20 files changed, 1 insertion(+), 128 deletions(-)
2008-11-13Merge #1195, #1196 and #1203 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"1-2/+1
- Get rid of CT_CC_NATIVE - Get rid of CT_CANADIAN_OPT - Sanitise CT_BUILD vs. CT_HOST /trunk/scripts/build/tools/200-sstrip.sh | 4 2 2 0 /trunk/scripts/build/binutils.sh | 1 0 1 0 - /trunk/scripts/build/cc/gcc.sh | 11 6 5 0 +- /trunk/scripts/build/debug/200-duma.sh | 3 1 2 0 - /trunk/scripts/build/libc/glibc.sh | 10 5 5 0 +- /trunk/scripts/build/libc/eglibc.sh | 8 4 4 0 +- /trunk/scripts/crosstool.sh | 168 113 55 0 ++++++++++++++++++++++++++------------ /trunk/config/toolchain.in | 160 137 23 0 +++++++++++++++++++++++++++++++----- 8 files changed, 268 insertions(+), 97 deletions(-)
2008-10-10Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"1-3/+0
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym - each build script no longer has to say wether they are enabled - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code Some re-ordering of the code to be consistent with the steps ordering (tools, then debug). /trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++------------- /trunk/scripts/build/debug.sh | 14 9 5 0 +++++--- /trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 -- /trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 - /trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 -- /trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 -- /trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 -- /trunk/scripts/build/tools.sh | 14 9 5 0 +++++--- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/config/debug/ltrace.in | 14 3 11 0 ++------ /trunk/config/debug/dmalloc.in | 9 1 8 0 +---- /trunk/config/debug/gdb.in | 9 1 8 0 +---- /trunk/config/debug/strace.in | 10 1 9 0 ----- /trunk/config/debug/duma.in | 10 1 9 0 ----- /trunk/config/tools/libelf.in | 12 2 10 0 +------ /trunk/config/tools/sstrip.in | 10 1 9 0 ----- /trunk/config/config.in | 4 2 2 0 +- 21 files changed, 74 insertions(+), 134 deletions(-)
2008-07-22Remove garbage files left behind by downloads from sourceforge.net.Yann E. MORIN"1-1/+4
/trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
2008-07-14Use CT_DoExecLog when building tools and debug utilities.Yann E. MORIN"1-2/+3
/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------ /trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++----- /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++------------- /trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++--- /trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++-- 6 files changed, 38 insertions(+), 31 deletions(-)
2008-06-30Newer, better, tsocks(1)-like wrapper script for D.U.M.A.Yann E. MORIN"1-9/+3
/trunk/scripts/build/debug/duma.in | 44 44 0 0 ++++++++++++++++++++++++++++++++++++++++ /trunk/scripts/build/debug/200-duma.sh | 12 3 9 0 +++-------- 2 files changed, 47 insertions(+), 9 deletions(-)
2008-06-19Fix building D.U.M.A. when C++ is not configured.Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-17Fix building D.U.M.A:Yann E. MORIN"1-21/+33
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0 - don't build the libraries multiple times, do it in one pass - install a custom LD_PRELOAD wrapper /trunk/scripts/build/debug/200-duma.sh | 54 33 21 0 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-)
2008-05-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"1-3/+3
$(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(-)
2008-05-02For tools/ and debug/ build scripts, annd a numeric prefix, so that they ↵Yann E. MORIN"1-0/+64
always get built in the same order, in case of library dependencies. /trunk/scripts/build/debug.sh | 2 1 1 0 +- /trunk/scripts/build/tools.sh | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)