NAME=irena SerialNo-test = 0 ProductId-test = 0x01 SerialNo-esther = 1 ProductId-esther = 0x01 SerialNo-thomas = 2 ProductId-thomas = 0x01 SerialNo-FRED2 = 3 ProductId-FRED2 = 0x01 #SerialNo-HETI = 3 #ProductId-HETI = 0x01 #SerialNo-EPTI = 4 #ProductId-EPTI = 0x01 SerialNo-ALKE = 5 ProductId-ALKE = 0x01 SerialNo-IRENA = 6 ProductId-IRENA = 0x01 SerialNo-EVA = 7 ProductId-EVA = 0x01 SerialNo-MD3 = 10 ProductId-MD3 = 0x01 SerialNo-TANOS = 11 ProductId-TANOS = 0x01 SerialNo-CHAOS = 13 ProductId-CHAOS = 0x01 SerialNo-PIRENA = 4 ProductId-PIRENA = 0x03 SerialNo-sirena = 1 ProductId-sirena = 0x04 SerialNo-CE4 = 2 ProductId-CE4 = 0x04 SerialNo-icucore = 2 ProductId-icucore = 0x04 SerialNo-VARENA = x ProductId-VARENA = 0x02 SerialNo-SARENA = 2 ProductId-SARENA = 0x02 SerialNo-TARENA = $(SerialNo-SARENA) ProductId-TARENA = 0x02 SerialNo-IARENA = 1 ProductId-IARENA = 0x02 SerialNo-HARENA = 3 ProductId-HARENA = 0x02 SerialNo-AARENA = 4 ProductId-AARENA = 0x02 SerialNo-CE4ARENA = 4 ProductId-CE4ARENA = 0x02 ProductId-FLYRENA = 0x05 SerialNo-FLYRENA = 1 SerialNo-CCD = 1 ProductId-CCD = 0x0c ProductId-ERENA = 0x06 SerialNo-ERENA = 1 ProductId-Flo = 0x04 SerialNo-Flo = 7 ProductId-GPS = 0x08 SerialNo-GPS = 1 ProductId-FLOW = 0x08 SerialNo-FLOW = 2 ProductId-SpW = 0x09 SerialNo-SpW = 1 ProductId-NMRENA = 0x0a SerialNo-NMRENA = 1 ProductId-NMRENAv2 = 0x0b SerialNo-NMRENAv2 = 8 ProductId-MCS = 0x0b SerialNo-MCS = 9 ProductId-NMRENA10 = 0x0c SerialNo-NMRENA10 = 13 ProductId-NMAHEPAM = 0x0c SerialNo-NMAHEPAM = 14 ProductId-SETH = 0x0c SerialNo-SETH = 15 ProductId-LEIA = 0x0c SerialNo-LEIA = 16 #sirena: ProductId-Torsten = 0x04 SerialNo-Torsten = 6 ifneq ($(SerialNo-$(BOX)),) SerialNo = $(SerialNo-$(BOX)) ProductId = $(ProductId-$(BOX)) REVISION:= $(shell env SerialNo=$(SerialNo) ProductId=$(ProductId) ./update_revision.sh) endif prod_rev := $(shell awk $@ $(MKDOSFS) -n "$(FATNAME)" -s 8 -r 112 -v $@ mcopy -i $@ -spmv $(FLASH)/[A-Z0-9]*.*[A-Z0-9] ::/ flash_%.fat: flash_% $(MAKE) FLASH=flash_$* $@