X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile;h=fc8d4c1020dac2bce5e7f32c440847aa189fac51;hb=e323c15dc4d27d452602e147102e6cdfd4c7d0c3;hp=72a979296eb1c94b85b1f9234163b382f96c29e6;hpb=0bac7de529ed84f6b2236e41f435c5a4cd86ff95;p=sigrok-firmware-fx2lafw.git diff --git a/Makefile b/Makefile index 72a97929..fc8d4c10 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,14 @@ VERSION = "0.1.0" DESTDIR ?= /usr/local/share/sigrok-firmware -REPO = git://sigrok.git.sourceforge.net/gitroot/sigrok/fx2lafw +REPO = git://sigrok.org/sigrok-firmware-fx2lafw TARBALLDIR = sigrok-firmware-fx2lafw-$(VERSION) +TARBALLBINDIR = sigrok-firmware-fx2lafw-bin-$(VERSION) all: build-all -build-all: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps +build-all: saleae-logic cwav-usbeeax cwav-usbeedx cwav-usbeesx cypress-fx2 braintechnology-usb-lps saleae-logic: @$(MAKE) -C hw/saleae-logic @@ -37,6 +38,9 @@ saleae-logic: cwav-usbeeax: @$(MAKE) -C hw/cwav-usbeeax +cwav-usbeedx: + @$(MAKE) -C hw/cwav-usbeedx + cwav-usbeesx: @$(MAKE) -C hw/cwav-usbeesx @@ -56,10 +60,19 @@ dist: @tar -c -z -f $(TARBALLDIR).tar.gz $(TARBALLDIR) @rm -rf $(TARBALLDIR) +distbin: build-all ChangeLog + @mkdir $(TARBALLBINDIR) + @cp hw/*/build/*.fw $(TARBALLBINDIR) + @cp README NEWS ChangeLog $(TARBALLBINDIR) + @tar -c -z -f $(TARBALLBINDIR).tar.gz $(TARBALLBINDIR) + @rm -rf $(TARBALLBINDIR) + @rm -f ChangeLog + install: build-all @mkdir -p $(DESTDIR) @cp hw/saleae-logic/build/*.fw $(DESTDIR) @cp hw/cwav-usbeeax/build/*.fw $(DESTDIR) + @cp hw/cwav-usbeedx/build/*.fw $(DESTDIR) @cp hw/cwav-usbeesx/build/*.fw $(DESTDIR) @cp hw/cypress-fx2/build/*.fw $(DESTDIR) @cp hw/braintechnology-usb-lps/build/*.fw $(DESTDIR) @@ -67,10 +80,10 @@ install: build-all clean: @rm -rf hw/saleae-logic/build @rm -rf hw/cwav-usbeeax/build + @rm -rf hw/cwav-usbeedx/build @rm -rf hw/cwav-usbeesx/build @rm -rf hw/cypress-fx2/build @rm -rf hw/braintechnology-usb-lps/build @$(MAKE) -C fx2lib clean -.PHONY: saleae-logic cwav-usbeeax cwav-usbeesx cypress-fx2 braintechnology-usb-lps - +.PHONY: saleae-logic cwav-usbeeax cwav-usbeedx cwav-usbeesx cypress-fx2 braintechnology-usb-lps