diff options
author | Jonathan Bauer | 2013-03-15 16:22:46 +0100 |
---|---|---|
committer | Jonathan Bauer | 2013-03-15 16:22:46 +0100 |
commit | c009e71f911295079103f52b1bb6b541ac0ac559 (patch) | |
tree | a811771a87a8d64f2373318e5920e804f74c4080 /remote/modules/debug | |
parent | targets and builds (diff) | |
download | tm-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.build | 19 | ||||
-rw-r--r-- | remote/modules/debug/debug.conf | 2 |
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" |