ar71xx: Fix build for dap-1330-a1 board
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 May 2018 13:22:00 +0000 (15:22 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 24 May 2018 14:43:00 +0000 (16:43 +0200)
commita1a2d3d71c43a69884b19aceafed3a43c2004c18
treebdef86887f60e7b33f42b5d9a2f63645cc12db15
parent34354cf33de4ddeeff93ef1378114f7351c79ac8
ar71xx: Fix build for dap-1330-a1 board

Using a version number of 16 character causes a buffer overflow in the
version number overwriting the first bit of the signature in the
mkdapimg2 tool.
I am not sure if the version number should be null terminated or not.
This patch reduces the size of the version number by removing the number
of private commits from it.

This was the original version number which caused problems:
OpenWrt-r6727+10
Now it uses this version number:
OpenWrt-r6727

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit ae8ff1c65c4ea4e0b2e1e8ef94fad87587d979bc)
target/linux/ar71xx/image/generic.mk