~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to xpp/sync.sh

  • Committer: Bazaar Package Importer
  • Author(s): Kilian Krause, Tzafrir Cohen, Kilian Krause
  • Date: 2006-03-30 23:52:38 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060330235238-loilw12281wdw2p6
Tags: 1:1.2.5-1
[ Tzafrir Cohen ]
* New upstream version
* Only build xpp for i386, as it currently crashes on other arches.
* Fix compilation of xpp for 2.6.14

[ Kilian Krause ]
* Fix gendigits to write to stdout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
SVN_ROOT=/home/tzafrir/Proj/Svn
 
6
XORTEL_DIR=$SVN_ROOT/xpp-zaptel/trunk/xortel
 
7
XPP_DIR=$SVN_ROOT/xpp-zaptel/trunk/zaptel/xpp
 
8
TARGET_DIR=xpp
 
9
FIRMWARE=$SVN_ROOT/fpgafirmware/init.dat
 
10
 
 
11
curdir=$PWD
 
12
cd $XORTEL_DIR
 
13
  cd ..; svn update; 
 
14
  cd xortel
 
15
  make FIRMWARE="$FIRMWARE" ../zaptel/xpp/slic_init.inc
 
16
cd $curdir
 
17
 
 
18
cp -a $XORTEL_DIR/FPGA_XPD.hex ${TARGET_DIR}/
 
19
cp -a $XORTEL_DIR/xpd.h ${TARGET_DIR}/
 
20
cp -a $XORTEL_DIR/xpp_zap.[ch] ${TARGET_DIR}/
 
21
cp -a $XORTEL_DIR/xproto.[ch] ${TARGET_DIR}/
 
22
cp -a $XORTEL_DIR/xdefs.h ${TARGET_DIR}/
 
23
cp -a $XORTEL_DIR/xpp_usb.c ${TARGET_DIR}/
 
24
cp -a $XORTEL_DIR/zap_debug.[ch] ${TARGET_DIR}/
 
25
cp -a $XORTEL_DIR/slic.[ch] ${TARGET_DIR}/
 
26
cp -a $XORTEL_DIR/card_*.[ch] ${TARGET_DIR}/
 
27
cp -a $XORTEL_DIR/xpp_fxloader{,.usermap} ${TARGET_DIR}/
 
28
cp -a $XORTEL_DIR/xpp_modprobe ${TARGET_DIR}/
 
29
cp -a $XORTEL_DIR/gen_slic_init ${TARGET_DIR}/
 
30
cp -a $XPP_DIR/Makefile ${TARGET_DIR}/
 
31
cp -a $XPP_DIR/slic_init.inc ${TARGET_DIR}/