diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-25 16:35:33 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-25 16:35:33 +0000 |
commit | 763696886e411c60379ef34f8382c8bce7a05033 (patch) | |
tree | 4182c0fc75b7ce92640f5b23eebb3d7756dbacbd /build_tools | |
parent | 1c18f0264a13307cf6f6477ebe5aac583d5250c4 (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-x | build_tools/live_dahdi | 10 |
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); ' } |