scripts/build/debug/300-gdb.sh
changeset 2751 bd17cca444ae
parent 2703 bd2529ef6665
child 2765 6c5658b8b588
child 2874 741f66655e95
     1.1 --- a/scripts/build/debug/300-gdb.sh	Sat Oct 08 22:57:21 2011 +0200
     1.2 +++ b/scripts/build/debug/300-gdb.sh	Tue Nov 15 19:11:57 2011 +0100
     1.3 @@ -219,13 +219,14 @@
     1.4              CT_DoExecLog ALL make ${JOBSFLAGS} -C include
     1.5              CT_DoExecLog ALL make ${JOBSFLAGS} -C progs "tic${tic_ext}"
     1.6  
     1.7 -            CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/buildtools"
     1.8 -            CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/buildtools"
     1.9 +            CT_DoExecLog ALL install -d -m 0755 "${CT_BUILDTOOLS_PREFIX_DIR}/bin"
    1.10 +            CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_BUILDTOOLS_PREFIX_DIR}/bin"
    1.11  
    1.12              mkdir -p "${CT_BUILD_DIR}/build-ncurses"
    1.13              cd "${CT_BUILD_DIR}/build-ncurses"
    1.14  
    1.15              CT_DoExecLog CFG                                                    \
    1.16 +            TIC_PATH="${CT_BUILDTOOLS_PREFIX_DIR}/bin/tic${tic_ext}"            \
    1.17              "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure"   \
    1.18                  --build=${CT_BUILD}                                             \
    1.19                  --host=${CT_TARGET}                                             \
    1.20 @@ -243,9 +244,6 @@
    1.21  
    1.22              CT_DoExecLog ALL make install
    1.23  
    1.24 -            # We no longer need the temporary tic. Remove it
    1.25 -            CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/buildtools/tic${tic_ext}"
    1.26 -
    1.27              native_extra_config+=("--with-curses")
    1.28              # There's no better way to tell gdb where to find -lcurses... :-(
    1.29              gdb_native_CFLAGS+=("-I${CT_BUILD_DIR}/static-target/include")