From c009e71f911295079103f52b1bb6b541ac0ac559 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 15 Mar 2013 16:22:46 +0100 Subject: yet another new structure --- remote/modules/debug/debug.build | 19 +++++++++++++++++++ remote/modules/debug/debug.conf | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 remote/modules/debug/debug.build create mode 100644 remote/modules/debug/debug.conf (limited to 'remote/modules/debug') diff --git a/remote/modules/debug/debug.build b/remote/modules/debug/debug.build new file mode 100644 index 00000000..e791d347 --- /dev/null +++ b/remote/modules/debug/debug.build @@ -0,0 +1,19 @@ +fetch_source() { + : +} + +build() { + + for BIN in $REQUIRED_BINARIES; do + BIN_LOCATION=$(which ${BIN}) + if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then + tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}" + else + pwarning "'${BIN}' not found on the system." + fi + done +} + +post_copy() { + : +} diff --git a/remote/modules/debug/debug.conf b/remote/modules/debug/debug.conf new file mode 100644 index 00000000..3eb13363 --- /dev/null +++ b/remote/modules/debug/debug.conf @@ -0,0 +1,2 @@ +REQUIRED_BINARIES=" strace + ldd" -- cgit v1.2.3-55-g7522