forked from freifunk-franken/firmware
22 lines
828 B
Diff
22 lines
828 B
Diff
diff --git target/linux/ar71xx/image/Makefile target/linux/ar71xx/image/Makefile
|
|
index a8073f2..5f0df54 100644
|
|
--- target/linux/ar71xx/image/Makefile
|
|
+++ target/linux/ar71xx/image/Makefile
|
|
@@ -58,13 +58,14 @@ define Build/mktplinkfw
|
|
-o $@.new \
|
|
-j -X 0x40000 \
|
|
-a $(call rootfs_align,$(FILESYSTEM)) \
|
|
- $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@
|
|
+ $(wordlist 2,$(words $(1)),$(1)) \
|
|
+ $(if $(findstring sysupgrade,$(word 1,$(1))),-s) && mv $@.new $@ || rm -f $@
|
|
endef
|
|
|
|
# -c combined image
|
|
define Build/mktplinkfw-initramfs
|
|
$(STAGING_DIR_HOST)/bin/mktplinkfw \
|
|
- -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \
|
|
+ -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) $(1) \
|
|
-k $@ \
|
|
-o $@.new \
|
|
-s -S \
|