This creates a sigrok-firmware-fx2lafw-bin-x.y.z.tar.gz tarball which
only contains pre-built *.fw files (and some docs), but no source code
of fx2lafw.
This tarball can be provided as a convenience download for users who do
not want to mess with building their own firmware files from source.
REPO = git://sigrok.git.sourceforge.net/gitroot/sigrok/fx2lafw
TARBALLDIR = sigrok-firmware-fx2lafw-$(VERSION)
+TARBALLBINDIR = sigrok-firmware-fx2lafw-bin-$(VERSION)
all: build-all
@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)