mpc85xx: fix address config for ws-ap3825i
[openwrt/openwrt.git] / target / linux / ath79 / image / common-buffalo.mk
1 define Build/buffalo-tag
2 $(eval product=$(word 1,$(1)))
3 $(eval hwver=$(word 2,$(1)))
4 $(STAGING_DIR_HOST)/bin/buffalo-tag \
5 -c 0x80041000 -d 0x801e8000 -w $(hwver) \
6 -a ath -v 1.99 -m 1.01 -f 1 \
7 -b $(product) -p $(product) \
8 -r M_ -l mlang8 \
9 -i $@ -o $@.new
10 mv $@.new $@
11 endef
12
13 define Build/buffalo-tftp-header
14 ( \
15 echo -n -e "# Airstation Public Fmt1" | dd bs=32 count=1 conv=sync; \
16 dd if=$@; \
17 ) > $@.new
18 mv $@.new $@
19 endef