mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
d1e3f32dcf
This applies alphabetic sorting to devices in image/* files. For certain cases, this patch deviates from strict sorting, e.g. to ensure that v10 comes after v9. While at it, fix an indent and remove some useless empty lines. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
20 lines
449 B
Makefile
20 lines
449 B
Makefile
define Build/buffalo-tag
|
|
$(eval product=$(word 1,$(1)))
|
|
$(eval hwver=$(word 2,$(1)))
|
|
$(STAGING_DIR_HOST)/bin/buffalo-tag \
|
|
-c 0x80041000 -d 0x801e8000 -w $(hwver) \
|
|
-a ath -v 1.99 -m 1.01 -f 1 \
|
|
-b $(product) -p $(product) \
|
|
-r M_ -l mlang8 \
|
|
-i $@ -o $@.new
|
|
mv $@.new $@
|
|
endef
|
|
|
|
define Build/buffalo-tftp-header
|
|
( \
|
|
echo -n -e "# Airstation Public Fmt1" | dd bs=32 count=1 conv=sync; \
|
|
dd if=$@; \
|
|
) > $@.new
|
|
mv $@.new $@
|
|
endef
|