diff mbox

[LEDE-DEV] ar71xx: image: Remove tplink-safeloader def

Message ID 1463141565-30066-1-git-send-email-ash.benz@bk.ru
State Superseded
Delegated to: Alexander Couzens
Headers show

Commit Message

Ash Benz May 13, 2016, 12:12 p.m. UTC
Resubmitting with clearer description:
This is an extra patch for the Archer C2600 v2 series that I submitted on May 9th.

That series adds tplink-safeloader definition to include/image.mk, and so this patch removes it from target/linux/ar71xx/image/Makefile.

Signed-off-by: Ash Benz <ash.benz@bk.ru>
---
 target/linux/ar71xx/image/Makefile | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Alexander 'lynxis' Couzens May 13, 2016, 6:27 p.m. UTC | #1
On Fri, 13 May 2016 20:12:45 +0800
Ash Benz <ash.benz@bk.ru> wrote:

> Resubmitting with clearer description:
> This is an extra patch for the Archer C2600 v2 series that I
> submitted on May 9th.
> 
> That series adds tplink-safeloader definition to include/image.mk,
> and so this patch removes it from target/linux/ar71xx/image/Makefile.

Hi Ash,

can you please create a v3 of the patch:
[PATCH v2 01/10] include/image.mk: Add TP-Link image safe-loader defintion

which includes this change and a summary like 'include/image.mk: move build step tplink-safeloader to image.mk'

best,
lynxis
diff mbox

Patch

diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 3bf005f..a5b1a86 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -74,18 +74,6 @@  define Build/mktplinkfw-initramfs
 	@mv $@.new $@
 endef
 
-define Build/tplink-safeloader
-       -$(STAGING_DIR_HOST)/bin/tplink-safeloader \
-		-B $(TPLINK_BOARD_NAME) \
-		-V $(REVISION) \
-		-k $(word 1,$^) \
-		-r $@ \
-		-o $@.new \
-		-j \
-		$(wordlist 2,$(words $(1)),$(1)) \
-		$(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@
-endef
-
 define Build/loader-common
 	rm -rf $@.src
 	$(MAKE) -C lzma-loader \