forked from mirror/openwrt
ramips: fix zytrx build with long version strings
zytrx accepts version strings up to 32 characters. Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
This commit is contained in:
parent
339e8fa25b
commit
4bdbb413cc
1 changed files with 1 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ endef
|
|||
define Build/zytrx-header
|
||||
$(eval board=$(word 1,$(1)))
|
||||
$(eval version=$(word 2,$(1)))
|
||||
$(eval version=$(shell echo $(version) | cut -c 1-31))
|
||||
$(STAGING_DIR_HOST)/bin/zytrx -B '$(board)' -v '$(version)' -i $@ -o $@.new
|
||||
mv $@.new $@
|
||||
endef
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue