summaryrefslogtreecommitdiffstats
path: root/remote/modules/debug
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/debug')
-rw-r--r--remote/modules/debug/debug.build19
-rw-r--r--remote/modules/debug/debug.conf2
2 files changed, 21 insertions, 0 deletions
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"