Macro Sysupgrade/KR is not used and seems unnecessary, so remove
it. Also add padding argument to macro Sysupgrade/RKuImage.

Signed-off-by: Zhao, Gang <gamer...@gmail.com>
---
 target/linux/ar71xx/image/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/ar71xx/image/Makefile 
b/target/linux/ar71xx/image/Makefile
index 8da2095..e692d1b 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -200,9 +200,8 @@ endef
 # $(3): kernel image size limit.
 # $(4): rootfs image size limit.
 # $(5): padding argument for padjffs2.
-Sysupgrade/KR=$(call CatFiles,$(2),$(3),$(KDIR)/root.$(1),$(4),$(call 
sysupname,$(1),$(5)))
 Sysupgrade/KRuImage=$(call 
CatFiles,$(KDIR_TMP)/vmlinux-$(2).uImage,$(3),$(KDIR)/root.$(1),$(4),$(call 
sysupname,$(1),$(2)),$(5))
-Sysupgrade/RKuImage=$(call 
CatFiles,$(KDIR)/root.$(1),$(4),$(KDIR_TMP)/vmlinux-$(2).uImage,$(3),$(call 
sysupname,$(1),$(2)))
+Sysupgrade/RKuImage=$(call 
CatFiles,$(KDIR)/root.$(1),$(4),$(KDIR_TMP)/vmlinux-$(2).uImage,$(3),$(call 
sysupname,$(1),$(2)),$(5))
 
 # $(1): ubinize ini file
 # $(2): working directory
-- 
1.9.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to