diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-05-26 03:04:47 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2016-06-01 17:54:36 +0200 |
commit | 2a9f03adea362e593b63f5b4f6bc048d1a621edb (patch) | |
tree | dca5b14d29c8aa6ecfa01b59897b9b1524887d81 /target/linux/ar71xx/image/legacy.mk | |
parent | 65ae9db41ab70f496dbfbdb26a76952aa42d8ddf (diff) | |
download | upstream-2a9f03adea362e593b63f5b4f6bc048d1a621edb.tar.gz upstream-2a9f03adea362e593b63f5b4f6bc048d1a621edb.tar.bz2 upstream-2a9f03adea362e593b63f5b4f6bc048d1a621edb.zip |
ar71xx/image/edimax shorten the revision to 13 character
edimax fails if the revision is longer than 13 characters.
Also change the name from OpenWrt to LEDE
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'target/linux/ar71xx/image/legacy.mk')
-rw-r--r-- | target/linux/ar71xx/image/legacy.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk index 78b7883a07..e43263289f 100644 --- a/target/linux/ar71xx/image/legacy.mk +++ b/target/linux/ar71xx/image/legacy.mk @@ -541,11 +541,11 @@ define Image/Build/Belkin $(eval rootsize=$(call mtdpartsize,rootfs,$(4))) $(call Sysupgrade/RKuImage,$(1),$(2),$(kernsize),$(rootsize)) if [ -e "$(call sysupname,$(1),$(2))" ]; then \ - edimax_fw_header -m $(5) -v "OpenWrt$(REVISION)" \ + edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \ -n "uImage" \ -i $(KDIR_TMP)/vmlinux-$(2).uImage \ -o $(KDIR_TMP)/$(2)-uImage; \ - edimax_fw_header -m $(5) -v "OpenWrt$(REVISION)" \ + edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \ -n "rootfs" \ -i $(KDIR)/root.$(1) \ -o $(KDIR_TMP)/$(2)-rootfs; \ |