summaryrefslogtreecommitdiffstats
path: root/remote/modules/debug
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-15 16:22:46 +0100
committerJonathan Bauer2013-03-15 16:22:46 +0100
commitc009e71f911295079103f52b1bb6b541ac0ac559 (patch)
treea811771a87a8d64f2373318e5920e804f74c4080 /remote/modules/debug
parenttargets and builds (diff)
downloadtm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.tar.gz
tm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.tar.xz
tm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.zip
yet another new structure
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"