Makefile 538 B

123456789101112131415161718192021
  1. # Install firmwares and initialization scripts for the Astribank
  2. # drivers
  3. FPGA_FW = FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex
  4. PIC_FW = PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex
  5. FIRMWARES = USB_FW.hex $(FPGA_FW) $(PIC_FW)
  6. PROTO_VER = 30
  7. SCRIPTS_BASE = $(patsubst %,init_card_%_$(PROTO_VER),1 2 3 4)
  8. SCRIPTS = $(SCRIPTS_BASE:%=../%)
  9. TARGET = $(DESTDIR)/usr/share/dahdi
  10. all:
  11. clean:
  12. install:
  13. mkdir -p $(TARGET)
  14. install $(SCRIPTS) $(TARGET)/
  15. install -m 644 ../XppConfig.pm $(FIRMWARES) $(TARGET)/