Update of /cvsroot/alsa/alsa-tools/usx2yloader
In directory sc8-pr-cvs1:/tmp/cvs-serv10922

Modified Files:
        .cvsignore Makefile.am configure.in 
Added Files:
        tascam_fpga.in tascam_fw.in 
Removed Files:
        tascam_fpga tascam_fw 
Log Message:
- generate tascam_fw and tascam_fpga via configure script.



--- NEW FILE: tascam_fpga.in ---
#!/bin/sh
# load the firmware into Tascam USB devices (FPGA design)

[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

[EMAIL PROTECTED]@/usx2yloader

if [ -x /usr/bin/logger ]; then
        /usr/bin/logger -t $0 "calling $LOADER for $DEVICE"
fi
$LOADER
@bin@/us428control &
if [ -x /usr/bin/logger ]; then
        /usr/bin/logger -t $0 "leaving"
fi

exit 0

--- NEW FILE: tascam_fw.in ---
#!/bin/sh

# load the firmware into Tascam USB devices

[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

FIRMWARE=
[EMAIL PROTECTED]@/alsa/firmware/usx2yloader
FLAGS=
LOADER=/sbin/fxload
LOADERFIRMWARE=$FIRMWAREDIR/tascam_loader.ihx

case $PRODUCT in
1604/8000/*)
        FIRMWARE=$FIRMWAREDIR/us428fw.ihx
        ;;
1604/8004/*)
        FIRMWARE=$FIRMWAREDIR/us224fw.ihx
        ;;
1604/8006/*)
        FIRMWARE=$FIRMWAREDIR/us122fw.ihx
        ;;
*)
        if [ -x /usr/bin/logger ]; then
                /usr/bin/logger -t $0 "unknown product $PRODUCT"
        fi
        exit 1
esac

# missing loader firmware?
if [ ! -r $LOADERFIRMWARE ]; then
        if [ -x /usr/bin/logger ]; then
                /usr/bin/logger -t $0 "missing $LOADERFIRMWARE ??"
        fi
        exit 1
fi

# missing firmware?
if [ ! -r $FIRMWARE ]; then
        if [ -x /usr/bin/logger ]; then
                /usr/bin/logger -t $0 "missing $FIRMWARE for $PRODUCT ??"
        fi
        exit 1
fi

# missing loader?
if [ ! -x $LOADER ]; then
        if [ -x /usr/bin/logger ]; then
                /usr/bin/logger -t $0 "missing $LOADER ??"
        fi
        exit 1
fi

if [ -x /usr/bin/logger ]; then
        /usr/bin/logger -t $0 "load $FIRMWARE for $PRODUCT to $DEVICE"
fi
$LOADER $FLAGS -s $LOADERFIRMWARE -I $FIRMWARE

exit 0

Index: .cvsignore
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/usx2yloader/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore  8 Sep 2003 11:12:31 -0000       1.1
+++ .cvsignore  2 Dec 2003 10:01:06 -0000       1.2
@@ -12,3 +12,5 @@
 depcomp
 .deps
 autom4te.cache
+tascam_fpga
+tascam_fw

Index: Makefile.am
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/usx2yloader/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile.am 25 Nov 2003 17:36:00 -0000      1.5
+++ Makefile.am 2 Dec 2003 10:01:06 -0000       1.6
@@ -9,7 +9,7 @@
 
 usx2yloader_SOURCES = usx2yloader.c
 
-EXTRA_DIST = depcomp tascam_fw.usermap tascam_fw tascam_fpga
+EXTRA_DIST = depcomp tascam_fw.usermap tascam_fw.in tascam_fpga.in
 
 hotplug_files = tascam_fw.usermap tascam_fw tascam_fpga
 hotplugdir = /etc/hotplug/usb

Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/usx2yloader/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- configure.in        25 Nov 2003 17:13:40 -0000      1.3
+++ configure.in        2 Dec 2003 10:01:07 -0000       1.4
@@ -8,4 +8,4 @@
 CFLAGS="$CFLAGS $ALSA_CFLAGS"
 LDFLAGS="$LDFLAGS $ALSA_LIBS"
 
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile tascam_fpga tascam_fw)

--- tascam_fpga DELETED ---

--- tascam_fw DELETED ---



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to