2010-08-28 05:59:27 +08:00
|
|
|
# Install firmwares and initialization scripts for the Astribank
|
|
|
|
# drivers
|
|
|
|
|
2012-03-18 23:35:11 +08:00
|
|
|
USB_FW = USB_FW.hex USB_FW.201.hex USB_RECOV.hex
|
|
|
|
FPGA_FW = FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex \
|
|
|
|
FPGA_1161.201.hex
|
2010-08-28 05:59:27 +08:00
|
|
|
PIC_FW = PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex
|
2011-07-13 02:15:03 +08:00
|
|
|
OCT_FW = $(wildcard OCT6104E-256D.ima)
|
2012-02-08 05:50:04 +08:00
|
|
|
FIRMWARES = $(USB_FW) $(FPGA_FW) $(PIC_FW) $(OCT_FW)
|
2010-08-28 05:59:27 +08:00
|
|
|
PROTO_VER = 30
|
2011-07-01 05:38:47 +08:00
|
|
|
SCRIPTS_BASE = $(patsubst %,init_card_%_$(PROTO_VER),1 2 3 4 5)
|
2010-08-28 05:59:27 +08:00
|
|
|
SCRIPTS = $(SCRIPTS_BASE:%=../%)
|
|
|
|
TARGET = $(DESTDIR)/usr/share/dahdi
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(TARGET)
|
|
|
|
install $(SCRIPTS) $(TARGET)/
|
|
|
|
install -m 644 ../XppConfig.pm $(FIRMWARES) $(TARGET)/
|
|
|
|
|