common-buffalo.mk 415 B

1234567891011121314151617181920
  1. define Build/buffalo-tftp-header
  2. ( \
  3. echo -n -e "# Airstation Public Fmt1" | dd bs=32 count=1 conv=sync; \
  4. dd if=$@; \
  5. ) > [email protected]
  6. mv [email protected] $@
  7. endef
  8. define Build/buffalo-tag
  9. $(eval product=$(word 1,$(1)))
  10. $(STAGING_DIR_HOST)/bin/buffalo-tag \
  11. -c 0x80041000 -d 0x801e8000 -w 3 \
  12. -a ath -v 1.99 -m 1.01 -f 1 \
  13. -b $(product) -p $(product) \
  14. -r M_ -l mlang8 \
  15. -i $@ -o [email protected]
  16. mv [email protected] $@
  17. endef