2007-07-12 13:34:56 +00:00
|
|
|
# Build script for strace
|
|
|
|
|
|
|
|
do_debug_strace_get() {
|
2017-05-30 05:32:38 +00:00
|
|
|
CT_Fetch STRACE
|
2007-07-12 13:34:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_strace_extract() {
|
2017-05-30 05:32:38 +00:00
|
|
|
CT_ExtractPatch STRACE
|
2007-07-12 13:34:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_debug_strace_build() {
|
|
|
|
CT_DoStep INFO "Installing strace"
|
2017-01-09 07:01:52 +00:00
|
|
|
|
|
|
|
CT_mkdir_pushd "${CT_BUILD_DIR}/build-strace"
|
2007-07-12 13:34:56 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Configuring strace"
|
2017-01-09 07:01:52 +00:00
|
|
|
CT_DoExecLog CFG \
|
2017-01-14 05:24:16 +00:00
|
|
|
CC="${CT_TARGET}-${CT_CC}" \
|
2017-01-09 07:01:52 +00:00
|
|
|
CPP="${CT_TARGET}-cpp" \
|
|
|
|
LD="${CT_TARGET}-ld" \
|
2017-01-25 08:06:28 +00:00
|
|
|
${CONFIG_SHELL} \
|
2017-05-30 05:32:38 +00:00
|
|
|
"${CT_SRC_DIR}/strace/configure" \
|
2017-01-09 07:01:52 +00:00
|
|
|
--build=${CT_BUILD} \
|
|
|
|
--host=${CT_TARGET} \
|
2008-07-14 21:57:57 +00:00
|
|
|
--prefix=/usr
|
2007-07-12 13:34:56 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Building strace"
|
2016-11-21 07:50:17 +00:00
|
|
|
CT_DoExecLog ALL make
|
2007-07-12 13:34:56 +00:00
|
|
|
|
|
|
|
CT_DoLog EXTRA "Installing strace"
|
2016-11-21 07:50:17 +00:00
|
|
|
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install
|
2007-07-12 13:34:56 +00:00
|
|
|
|
|
|
|
CT_Popd
|
|
|
|
CT_EndStep
|
|
|
|
}
|
|
|
|
|