2
0
forked from Ivasoft/openwrt

ath79: sort device definitions in image/*

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>
This commit is contained in:
Adrian Schmutzler
2019-08-22 14:34:45 +02:00
committed by Christian Lamparter
parent 4fc0a61ed3
commit d1e3f32dcf
6 changed files with 301 additions and 303 deletions

View File

@@ -1,11 +1,3 @@
define Build/buffalo-tftp-header
( \
echo -n -e "# Airstation Public Fmt1" | dd bs=32 count=1 conv=sync; \
dd if=$@; \
) > $@.new
mv $@.new $@
endef
define Build/buffalo-tag
$(eval product=$(word 1,$(1)))
$(eval hwver=$(word 2,$(1)))
@@ -18,4 +10,10 @@ define Build/buffalo-tag
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