ath79: rename ubnt_bullet-m to ubnt_bullet-m-ar7241
[oweals/openwrt.git] / target / linux / ath79 / image / common-yuncore.mk
1 define Build/yuncore-tftp-header-16m
2         ( \
3                 echo -n -e \
4                         "YUNCOREsetenv bootcmd \"bootm 0x9f050000 || bootm 0x9fe80000\"" \
5                         "&& saveenv" \
6                         "&& erase 0x9f050000 +0xfa0000" \
7                         "&& cp.b 0x800600c0 0x9f050000 0xfa0000" |\
8                 dd bs=192 count=1 conv=sync; \
9                 dd if=$@; \
10         ) > $@.new
11         mv $@.new $@
12 endef