summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-25 16:35:33 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-04-25 16:35:33 +0000
commit9585807371e4f732d40cbf23e6a971b9fd17fca4 (patch)
tree4182c0fc75b7ce92640f5b23eebb3d7756dbacbd /build_tools
parentf5b463c2942d647e064c2fa7f70659c65c7603e5 (diff)
adapt live_dahdi to current xpp tools
* More varibles to set through the environment * Different way to list drivers git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6487 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/live_dahdi10
1 files changed, 8 insertions, 2 deletions
diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi
index 40bebd2..5c86f15 100755
--- a/build_tools/live_dahdi
+++ b/build_tools/live_dahdi
@@ -37,6 +37,12 @@ export PERL5LIB
FIRMWARE_DIR="$DESTDIR/usr/share/dahdi"
export FIRMWARE_DIR
+ASTRIBANK_TOOL="$DESTDIR/usr/sbin/astribank_tool"
+export ASTRIBANK_TOOL
+
+ASTRIBANK_HEXLOAD="$DESTDIR/usr/sbin/astribank_hexload"
+export ASTRIBANK_HEXLOAD
+
# make sure Astribank initialization scripts are from our tree.
xpp_ARGS="$xpp_ARGS initdir=$FIRMWARE_DIR"
@@ -44,8 +50,8 @@ xpp_ARGS="$xpp_ARGS initdir=$FIRMWARE_DIR"
# With the remote mode, I can't rely on files in the source directory.
dahdi_drivers() {
perl -MDahdi::Hardware -e '
- my $hardware = Dahdi::Hardware->scan;
- print join(" ", $hardware->drivers);
+ my @drivers = Dahdi::Hardware->drivers;
+ print join(" ", @drivers);
'
}