diff options
author | Anthony Foiani <anthony.foiani@gmail.com> | 2010-10-22 20:02:57 (GMT) |
---|---|---|
committer | Anthony Foiani <anthony.foiani@gmail.com> | 2010-10-22 20:02:57 (GMT) |
commit | 92898249bd1eb4c6bc0ab28bd78793464eaa1f9b (patch) | |
tree | 0eb9976730d0f028bc325d62c61d30566f084823 /scripts/build/debug | |
parent | 2b912ba84058489780c6fb673c894860bc9147af (diff) |
scripts: add "FILE" and "CFG" debug levels.
I ran into some minor difficulties looking through the build log for a
particular file: I wasn't interested in seeing it unpacked, but only
when it is built or installed. Adding these two levels allows me to
differentiate between those cases.
[Yann E. MORIN: Those are blind log levels, and are used only to search
in the build-log afterward.]
Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
Diffstat (limited to 'scripts/build/debug')
-rw-r--r-- | scripts/build/debug/000-template.sh | 2 | ||||
-rw-r--r-- | scripts/build/debug/100-dmalloc.sh | 2 | ||||
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 12 | ||||
-rw-r--r-- | scripts/build/debug/400-ltrace.sh | 4 | ||||
-rw-r--r-- | scripts/build/debug/500-strace.sh | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/scripts/build/debug/000-template.sh b/scripts/build/debug/000-template.sh index c76c972..47d2cae 100644 --- a/scripts/build/debug/000-template.sh +++ b/scripts/build/debug/000-template.sh @@ -20,7 +20,7 @@ do_debug_foobar_build() { # For example: # mkdir -p "${CT_BUILD_DIR}/build-foobar" # CT_Pushd "${CT_BUILD_DIR}/build-foobar" - # CT_DoExecLog ALL \ + # CT_DoExecLog CFG \ # "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure" \ # --build=${CT_BUILD} \ # --host=${CT_TARGET} \ diff --git a/scripts/build/debug/100-dmalloc.sh b/scripts/build/debug/100-dmalloc.sh index c567c40..a5e4fa3 100644 --- a/scripts/build/debug/100-dmalloc.sh +++ b/scripts/build/debug/100-dmalloc.sh @@ -36,7 +36,7 @@ do_debug_dmalloc_build() { LD="${CT_TARGET}-ld" \ AR="${CT_TARGET}-ar" \ CFLAGS=-fPIC \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/dmalloc-${CT_DMALLOC_VERSION}/configure" \ --prefix=/usr \ --build="${CT_BUILD}" \ diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index a8229d4..5a7d87f 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -112,7 +112,7 @@ do_debug_gdb_build() { CC="${CC_for_gdb}" \ LD="${LD_for_gdb}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_cross_configure}" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ @@ -153,7 +153,7 @@ do_debug_gdb_build() { # Use build = CT_REAL_BUILD so that configure thinks it is # cross-compiling, and thus will use the ${CT_BUILD}-* # tools instead of searching for the native ones... - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_BUILD} \ @@ -178,7 +178,7 @@ do_debug_gdb_build() { mkdir -p "${CT_BUILD_DIR}/build-ncurses" cd "${CT_BUILD_DIR}/build-ncurses" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -211,7 +211,7 @@ do_debug_gdb_build() { mkdir -p "${CT_BUILD_DIR}/expat-build" cd "${CT_BUILD_DIR}/expat-build" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/expat-${CT_DEBUG_GDB_EXPAT_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -251,7 +251,7 @@ do_debug_gdb_build() { CC="${CC_for_gdb}" \ LD="${LD_for_gdb}" \ CFLAGS="${gdb_native_CFLAGS[@]}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_src_dir}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -313,7 +313,7 @@ do_debug_gdb_build() { gdbserver_extra_config=("${extra_config[@]}") LDFLAGS="${gdbserver_LDFLAGS}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_src_dir}/gdb/gdbserver/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh index dd0fe4a..522756d 100644 --- a/scripts/build/debug/400-ltrace.sh +++ b/scripts/build/debug/400-ltrace.sh @@ -38,9 +38,9 @@ do_debug_ltrace_build() { CC="${CT_TARGET}-${CT_CC}" \ HOST="${ltrace_host}" \ CFLAGS="${CT_TARGET_CFLAGS}" \ - CT_DoExecLog ALL ./configure --prefix=/usr + CT_DoExecLog CFG ./configure --prefix=/usr else - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ ./configure \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff --git a/scripts/build/debug/500-strace.sh b/scripts/build/debug/500-strace.sh index 3713da5..65d4086 100644 --- a/scripts/build/debug/500-strace.sh +++ b/scripts/build/debug/500-strace.sh @@ -17,7 +17,7 @@ do_debug_strace_build() { CT_Pushd "${CT_BUILD_DIR}/build-strace" CT_DoLog EXTRA "Configuring strace" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ |