projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293b825
)
ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized...
author
Felix Fietkau
<
[email protected]
>
Fri, 8 May 2015 14:02:50 +0000
(14:02 +0000)
committer
Felix Fietkau
<
[email protected]
>
Fri, 8 May 2015 14:02:50 +0000
(14:02 +0000)
Signed-off-by: Felix Fietkau <
[email protected]
>
SVN-Revision: 45646
target/linux/ar71xx/image/Makefile
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/image/Makefile
b/target/linux/ar71xx/image/Makefile
index 00d61ba113b4a2937247ca656c649cf802c9e4b7..d6e6285c747924f334f7095d25f68c795f7b4b06 100644
(file)
--- a/
target/linux/ar71xx/image/Makefile
+++ b/
target/linux/ar71xx/image/Makefile
@@
-51,15
+51,14
@@
endef
# -s strip padding from end of the image
# -X reserve <size> bytes in the firmware image (hexval prefixed with 0x)
define Build/mktplinkfw
- $(STAGING_DIR_HOST)/bin/mktplinkfw \
+
-
$(STAGING_DIR_HOST)/bin/mktplinkfw \
-H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \
-k $(word 1,$^) \
-r $@ \
-o
[email protected]
\
-j -X 0x40000 \
-a $(call rootfs_align,$(FILESYSTEM)) \
- $(if $(findstring sysupgrade,$1),-s)
- @mv
[email protected]
$@
+ $(if $(findstring sysupgrade,$1),-s) && mv
[email protected]
$@ || rm -f $@
endef
# -c combined image