include/image.mk: move build step tplink-safeloader to image.mk
Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
This commit is contained in:
parent
0c920e3281
commit
7eb1a7e956
@ -323,6 +323,18 @@ define Build/netgear-dni
|
|||||||
mv $@.new $@
|
mv $@.new $@
|
||||||
endef
|
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/fit
|
define Build/fit
|
||||||
$(TOPDIR)/scripts/mkits.sh \
|
$(TOPDIR)/scripts/mkits.sh \
|
||||||
-D $(DEVICE_NAME) -o $@.its -k $@ \
|
-D $(DEVICE_NAME) -o $@.its -k $@ \
|
||||||
|
@ -35,18 +35,6 @@ define Build/mktplinkfw-initramfs
|
|||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
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 Device/tplink
|
define Device/tplink
|
||||||
TPLINK_HWREV := 0x1
|
TPLINK_HWREV := 0x1
|
||||||
TPLINK_HEADER_VERSION := 1
|
TPLINK_HEADER_VERSION := 1
|
||||||
|
Loading…
Reference in New Issue
Block a user