altos/chaoskey: Encode both hardware and software versions in product ID
authorKeith Packard <keithp@keithp.com>
Mon, 15 Feb 2016 23:23:15 +0000 (15:23 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 15 Feb 2016 23:23:15 +0000 (15:23 -0800)
We have no other way of reporting the software version, so just encode
it in the product ID.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/chaoskey-v0.1/Makefile

index 4948a4c57485d3df93589c2cb50dc7c66de787a0..853922804b839fa31b967b238057f8cc23c130bc 100644 (file)
@@ -38,7 +38,7 @@ ALTOS_SRC = \
        ao_gpio.c \
        ao_product.c
 
-PRODUCT=ChaosKey-v0.1
+PRODUCT=ChaosKey-hw-0.3-sw-$(VERSION)
 PRODUCT_DEF=-DCHAOSKEY_V_0_1
 IDVENDOR=0x1d50
 IDPRODUCT=0x60c6