2007-05-17 16:22:51 +00:00
|
|
|
# Build script for the gdb debug facility
|
|
|
|
|
2010-01-21 21:33:54 +00:00
|
|
|
# The version of ncurses to use. Yes, it's hard-coded.
|
|
|
|
# It's used only internally by crosstool-NG, and is
|
|
|
|
# not exposed outside, so we don't care about providing
|
|
|
|
# config options for this.
|
|
|
|
CT_DEBUG_GDB_NCURSES_VERSION="5.7"
|
|
|
|
|
2008-09-02 10:47:44 +00:00
|
|
|
do_debug_gdb_parts() {
|
|
|
|
do_gdb=
|
|
|
|
do_insight=
|
|
|
|
do_ncurses=
|
|
|
|
|
|
|
|
if [ "${CT_GDB_CROSS}" = y ]; then
|
|
|
|
if [ "${CT_GDB_CROSS_INSIGHT}" = "y" ]; then
|
|
|
|
do_insight=y
|
|
|
|
else
|
|
|
|
do_gdb=y
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
|
|
|
|
do_gdb=y
|
|
|
|
fi
|
|
|
|
|
2008-06-18 12:33:32 +00:00
|
|
|
if [ "${CT_GDB_NATIVE}" = "y" ]; then
|
2008-09-02 10:47:44 +00:00
|
|
|
do_gdb=y
|
|
|
|
do_ncurses=y
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_gdb_get() {
|
|
|
|
do_debug_gdb_parts
|
|
|
|
|
|
|
|
if [ "${do_gdb}" = "y" ]; then
|
2010-04-11 21:05:48 +00:00
|
|
|
CT_GetFile "gdb-${CT_GDB_VERSION}" \
|
|
|
|
{ftp,http}://ftp.gnu.org/pub/gnu/gdb \
|
|
|
|
ftp://sources.redhat.com/pub/gdb/{,old-}releases
|
2008-09-02 10:47:44 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${do_insight}" = "y" ]; then
|
|
|
|
CT_GetFile "insight-${CT_GDB_VERSION}" \
|
|
|
|
ftp://sourceware.org/pub/insight/releases \
|
|
|
|
{ftp,http}://ftp.twaren.net/Unix/Sourceware/insight/releases \
|
|
|
|
{ftp,http}://ftp.gwdg.de/pub/linux/sources.redhat.com/insight/releases
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${do_ncurses}" = "y" ]; then
|
2010-01-21 21:33:54 +00:00
|
|
|
CT_GetFile "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}" .tar.gz \
|
2008-06-18 12:33:32 +00:00
|
|
|
{ftp,http}://ftp.gnu.org/pub/gnu/ncurses \
|
|
|
|
ftp://invisible-island.net/ncurses
|
|
|
|
fi
|
2007-05-17 16:22:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_gdb_extract() {
|
2008-09-02 10:47:44 +00:00
|
|
|
do_debug_gdb_parts
|
|
|
|
|
|
|
|
if [ "${do_gdb}" = "y" ]; then
|
2010-04-11 21:05:48 +00:00
|
|
|
CT_Extract "gdb-${CT_GDB_VERSION}"
|
2010-04-11 21:18:10 +00:00
|
|
|
CT_Patch "gdb" "${CT_GDB_VERSION}"
|
2008-09-02 10:47:44 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${do_insight}" = "y" ]; then
|
2009-01-05 23:02:43 +00:00
|
|
|
CT_Extract "insight-${CT_GDB_VERSION}"
|
2010-04-11 21:18:10 +00:00
|
|
|
CT_Patch "insight" "${CT_GDB_VERSION}"
|
2008-09-02 10:47:44 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${do_ncurses}" = "y" ]; then
|
2010-01-21 21:33:54 +00:00
|
|
|
CT_Extract "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}"
|
2010-04-11 21:18:10 +00:00
|
|
|
CT_Patch "ncurses" "${CT_DEBUG_GDB_NCURSES_VERSION}"
|
2008-06-20 10:58:45 +00:00
|
|
|
fi
|
2007-05-17 16:22:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_gdb_build() {
|
2009-08-19 17:44:43 +00:00
|
|
|
local -a extra_config
|
|
|
|
|
2010-04-11 21:05:48 +00:00
|
|
|
gdb_src_dir="${CT_SRC_DIR}/gdb-${CT_GDB_VERSION}"
|
2008-09-02 10:47:44 +00:00
|
|
|
insight_src_dir="${CT_SRC_DIR}/insight-${CT_GDB_VERSION}"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
# Version 6.3 and below behave badly with gdbmi
|
|
|
|
case "${CT_GDB_VERSION}" in
|
2009-08-19 17:44:43 +00:00
|
|
|
6.2*|6.3) extra_config+=("--disable-gdbmi");;
|
2007-05-17 16:22:51 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
if [ "${CT_GDB_CROSS}" = "y" ]; then
|
2009-08-19 17:44:43 +00:00
|
|
|
local -a cross_extra_config
|
|
|
|
|
2007-05-17 22:10:48 +00:00
|
|
|
CT_DoStep INFO "Installing cross-gdb"
|
2007-05-17 16:22:51 +00:00
|
|
|
CT_DoLog EXTRA "Configuring cross-gdb"
|
|
|
|
|
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-gdb-cross"
|
|
|
|
cd "${CT_BUILD_DIR}/build-gdb-cross"
|
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
cross_extra_config=("${extra_config[@]}")
|
2010-03-15 20:51:20 +00:00
|
|
|
if [ "${CT_GDB_CROSS_USE_GMP_MPFR}" = "y" ]; then
|
|
|
|
cross_extra_config+=("--with-gmp=${CT_PREFIX_DIR}")
|
|
|
|
cross_extra_config+=("--with-mpfr=${CT_PREFIX_DIR}")
|
|
|
|
fi
|
2010-03-15 21:02:02 +00:00
|
|
|
if [ "${CT_GDB_CROSS_USE_MPC}" = "y" ]; then
|
|
|
|
cross_extra_config+=("--with-mpc=${CT_PREFIX_DIR}")
|
|
|
|
fi
|
2008-06-19 15:33:33 +00:00
|
|
|
case "${CT_THREADS}" in
|
2009-08-19 17:44:43 +00:00
|
|
|
none) cross_extra_config+=("--disable-threads");;
|
|
|
|
*) cross_extra_config+=("--enable-threads");;
|
2008-06-19 15:33:33 +00:00
|
|
|
esac
|
|
|
|
|
2008-04-27 10:25:02 +00:00
|
|
|
CC_for_gdb=
|
|
|
|
LD_for_gdb=
|
2008-06-19 15:33:33 +00:00
|
|
|
if [ "${CT_GDB_CROSS_STATIC}" = "y" ]; then
|
2008-04-27 10:25:02 +00:00
|
|
|
CC_for_gdb="gcc -static"
|
|
|
|
LD_for_gdb="ld -static"
|
|
|
|
fi
|
|
|
|
|
2008-09-02 10:47:44 +00:00
|
|
|
gdb_cross_configure="${gdb_src_dir}/configure"
|
|
|
|
[ "${CT_GDB_CROSS_INSIGHT}" = "y" ] && gdb_cross_configure="${insight_src_dir}/configure"
|
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2008-04-27 10:25:02 +00:00
|
|
|
CC="${CC_for_gdb}" \
|
2008-06-19 15:33:33 +00:00
|
|
|
LD="${LD_for_gdb}" \
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL \
|
2008-09-02 10:47:44 +00:00
|
|
|
"${gdb_cross_configure}" \
|
2007-05-17 16:22:51 +00:00
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_HOST} \
|
|
|
|
--target=${CT_TARGET} \
|
2007-05-20 16:18:40 +00:00
|
|
|
--prefix="${CT_PREFIX_DIR}" \
|
2007-05-17 16:22:51 +00:00
|
|
|
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
2008-08-20 12:08:03 +00:00
|
|
|
--disable-werror \
|
2009-08-19 17:44:43 +00:00
|
|
|
"${cross_extra_config[@]}"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building cross-gdb"
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS}
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing cross-gdb"
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL make install
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
CT_EndStep
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${CT_GDB_NATIVE}" = "y" ]; then
|
2009-08-19 17:44:43 +00:00
|
|
|
local -a native_extra_config
|
|
|
|
local -a ncurses_opt
|
|
|
|
|
2008-06-18 12:33:32 +00:00
|
|
|
CT_DoStep INFO "Installing native gdb"
|
|
|
|
|
2009-03-30 21:17:21 +00:00
|
|
|
CT_DoStep INFO "Installing ncurses library"
|
2009-03-23 23:05:08 +00:00
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
[ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts+=("--without-cxx" "--without-cxx-binding")
|
|
|
|
[ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts+=("--without-ada")
|
2009-03-23 23:05:08 +00:00
|
|
|
|
2009-03-30 21:17:21 +00:00
|
|
|
CT_DoStep INFO "Installing native ncurses tic"
|
|
|
|
CT_DoLog EXTRA "Configuring ncurses tic"
|
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-ncurses-build-tic"
|
|
|
|
cd "${CT_BUILD_DIR}/build-ncurses-build-tic"
|
|
|
|
|
2009-03-23 23:35:36 +00:00
|
|
|
# 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...
|
2010-01-21 21:45:09 +00:00
|
|
|
CT_DoExecLog ALL \
|
|
|
|
"${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
2010-03-16 22:10:46 +00:00
|
|
|
--build=${CT_BUILD} \
|
2010-01-21 21:45:09 +00:00
|
|
|
--host=${CT_BUILD} \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-shared \
|
|
|
|
--enable-symlinks \
|
|
|
|
--with-build-cc=${CT_REAL_BUILD}-gcc \
|
|
|
|
--with-build-cpp=${CT_REAL_BUILD}-gcc \
|
|
|
|
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
2009-08-19 17:44:43 +00:00
|
|
|
"${ncurses_opts[@]}"
|
2009-03-23 23:05:08 +00:00
|
|
|
|
2009-03-24 17:39:45 +00:00
|
|
|
# Under some operating systems (eg. Winblows), there is an
|
|
|
|
# extension appended to executables. Find that.
|
|
|
|
tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')
|
|
|
|
|
2009-03-23 23:05:08 +00:00
|
|
|
CT_DoLog EXTRA "Building ncurses tic"
|
2009-03-24 17:39:45 +00:00
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS} -C include
|
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS} -C progs "tic${tic_ext}"
|
2009-03-23 23:05:08 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing ncurses tic"
|
|
|
|
CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/bin"
|
2009-03-24 17:39:45 +00:00
|
|
|
CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/bin"
|
2009-03-23 23:05:08 +00:00
|
|
|
|
2009-03-30 21:17:21 +00:00
|
|
|
CT_EndStep # tic build
|
2009-03-23 23:05:08 +00:00
|
|
|
|
2008-06-18 12:33:32 +00:00
|
|
|
CT_DoLog EXTRA "Configuring ncurses"
|
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-ncurses"
|
|
|
|
cd "${CT_BUILD_DIR}/build-ncurses"
|
|
|
|
|
2010-01-21 21:45:09 +00:00
|
|
|
CT_DoExecLog ALL \
|
|
|
|
"${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_TARGET} \
|
|
|
|
--with-build-cc=${CT_BUILD}-gcc \
|
|
|
|
--with-build-cpp=${CT_BUILD}-gcc \
|
|
|
|
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
|
|
|
--prefix="${CT_BUILD_DIR}/ncurses" \
|
|
|
|
--without-shared \
|
|
|
|
--without-sysmouse \
|
|
|
|
--without-progs \
|
|
|
|
--enable-termcap \
|
2009-08-19 17:44:43 +00:00
|
|
|
"${ncurses_opts[@]}"
|
2008-06-18 12:33:32 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building ncurses"
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS}
|
2008-06-18 12:33:32 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing ncurses"
|
2010-01-13 21:30:10 +00:00
|
|
|
CT_DoExecLog ALL make install
|
2008-06-18 12:33:32 +00:00
|
|
|
|
2009-03-30 21:17:21 +00:00
|
|
|
# We no longer need the temporary tic. Remove it
|
|
|
|
CT_DoExecLog DEBUG rm -fv "${CT_PREFIX_DIR}/bin/tic"
|
|
|
|
|
|
|
|
CT_EndStep # ncurses build
|
2008-06-18 12:33:32 +00:00
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
CT_DoLog EXTRA "Configuring native gdb"
|
|
|
|
|
2007-05-18 19:55:49 +00:00
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-gdb-native"
|
|
|
|
cd "${CT_BUILD_DIR}/build-gdb-native"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
native_extra_config=("${extra_config[@]}")
|
2008-06-19 15:33:33 +00:00
|
|
|
case "${CT_THREADS}" in
|
2009-08-19 17:44:43 +00:00
|
|
|
none) native_extra_config+=("--disable-threads");;
|
|
|
|
*) native_extra_config+=("--enable-threads");;
|
2008-06-19 15:33:33 +00:00
|
|
|
esac
|
2008-06-25 21:56:36 +00:00
|
|
|
if [ "${CT_GDB_NATIVE_USE_GMP_MPFR}" = "y" ]; then
|
2010-02-17 22:50:49 +00:00
|
|
|
native_extra_config+=("--with-gmp=${CT_SYSROOT_DIR}/usr")
|
|
|
|
native_extra_config+=("--with-mpfr=${CT_SYSROOT_DIR}/usr")
|
2008-06-20 15:16:43 +00:00
|
|
|
fi
|
2008-06-19 15:33:33 +00:00
|
|
|
|
|
|
|
if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
|
|
|
|
CC_for_gdb="${CT_TARGET}-gcc -static"
|
|
|
|
LD_for_gdb="${CT_TARGET}-ld -static"
|
2008-06-27 11:18:56 +00:00
|
|
|
else
|
|
|
|
CC_for_gdb="${CT_TARGET}-gcc"
|
|
|
|
LD_for_gdb="${CT_TARGET}-ld"
|
2008-06-19 15:33:33 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
export ac_cv_func_strncmp_works=yes
|
|
|
|
|
2010-01-13 21:30:10 +00:00
|
|
|
gdb_native_CFLAGS="-I${CT_BUILD_DIR}/ncurses/include -L${CT_BUILD_DIR}/ncurses/lib"
|
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
CT_DoLog DEBUG "Extra config passed: '${native_extra_config[*]}'"
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2008-06-19 15:33:33 +00:00
|
|
|
CC="${CC_for_gdb}" \
|
|
|
|
LD="${LD_for_gdb}" \
|
2010-01-13 21:30:10 +00:00
|
|
|
CFLAGS="${gdb_native_CFLAGS}" \
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL \
|
2007-05-17 16:22:51 +00:00
|
|
|
"${gdb_src_dir}/configure" \
|
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_TARGET} \
|
|
|
|
--target=${CT_TARGET} \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
|
|
|
--without-uiout \
|
|
|
|
--disable-tui \
|
|
|
|
--disable-gdbtk \
|
|
|
|
--without-x \
|
|
|
|
--disable-sim \
|
2008-06-19 15:33:33 +00:00
|
|
|
--disable-werror \
|
2007-05-17 16:22:51 +00:00
|
|
|
--without-included-gettext \
|
2008-06-19 15:33:33 +00:00
|
|
|
--without-develop \
|
2009-08-19 17:44:43 +00:00
|
|
|
"${native_extra_config[@]}"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building native gdb"
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC}
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing native gdb"
|
2009-03-03 17:41:59 +00:00
|
|
|
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2008-06-19 15:33:33 +00:00
|
|
|
# Building a native gdb also builds a gdbserver
|
2009-03-03 17:41:59 +00:00
|
|
|
find "${CT_DEBUGROOT_DIR}" -type f -name gdbserver -exec rm -fv {} \; 2>&1 |CT_DoLog ALL
|
2008-06-19 15:33:33 +00:00
|
|
|
|
|
|
|
unset ac_cv_func_strncmp_works
|
|
|
|
|
2009-10-03 15:09:18 +00:00
|
|
|
CT_DoLog EXTRA "Cleaning up ncurses"
|
|
|
|
cd "${CT_BUILD_DIR}/build-ncurses"
|
|
|
|
CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" uninstall
|
|
|
|
|
2010-01-13 21:30:10 +00:00
|
|
|
CT_DoExecLog DEBUG rm -rf "${CT_BUILD_DIR}/ncurses"
|
|
|
|
|
2009-03-30 21:17:21 +00:00
|
|
|
CT_EndStep # native gdb build
|
2008-06-19 15:33:33 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
|
2009-08-19 17:44:43 +00:00
|
|
|
local -a gdbserver_extra_config
|
|
|
|
|
2008-06-19 15:33:33 +00:00
|
|
|
CT_DoStep INFO "Installing gdbserver"
|
|
|
|
CT_DoLog EXTRA "Configuring gdbserver"
|
|
|
|
|
|
|
|
mkdir -p "${CT_BUILD_DIR}/build-gdb-gdbserver"
|
|
|
|
cd "${CT_BUILD_DIR}/build-gdb-gdbserver"
|
|
|
|
|
|
|
|
# Workaround for bad versions, where the configure
|
|
|
|
# script for gdbserver is not executable...
|
|
|
|
# Bah, GNU folks strike again... :-(
|
|
|
|
chmod +x "${gdb_src_dir}/gdb/gdbserver/configure"
|
|
|
|
|
|
|
|
gdbserver_LDFLAGS=
|
|
|
|
if [ "${CT_GDB_GDBSERVER_STATIC}" = "y" ]; then
|
|
|
|
gdbserver_LDFLAGS=-static
|
|
|
|
fi
|
|
|
|
|
2009-08-19 17:44:43 +00:00
|
|
|
gdbserver_extra_config=("${extra_config[@]}")
|
2008-06-20 15:16:43 +00:00
|
|
|
|
2008-06-19 15:33:33 +00:00
|
|
|
LDFLAGS="${gdbserver_LDFLAGS}" \
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL \
|
2008-06-19 15:33:33 +00:00
|
|
|
"${gdb_src_dir}/gdb/gdbserver/configure" \
|
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_TARGET} \
|
|
|
|
--target=${CT_TARGET} \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--includedir="${CT_HEADERS_DIR}" \
|
|
|
|
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
|
|
|
--program-prefix= \
|
|
|
|
--without-uiout \
|
|
|
|
--disable-tui \
|
|
|
|
--disable-gdbtk \
|
|
|
|
--without-x \
|
|
|
|
--without-included-gettext \
|
|
|
|
--without-develop \
|
2008-08-20 12:08:03 +00:00
|
|
|
--disable-werror \
|
2009-08-19 17:44:43 +00:00
|
|
|
"${gdbserver_extra_config[@]}"
|
2008-06-19 15:33:33 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building gdbserver"
|
2008-07-14 21:57:57 +00:00
|
|
|
CT_DoExecLog ALL make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC}
|
2008-06-19 15:33:33 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing gdbserver"
|
2009-03-03 17:41:59 +00:00
|
|
|
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install
|
2008-06-19 15:33:33 +00:00
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
CT_EndStep
|
|
|
|
fi
|
|
|
|
}
|