openwrtv4/target/linux/ar71xx/image
Jo-Philipp Wich b1d7ebae09 ar71xx: fix mtdpartsize macro in image Makefile (#14961)
The mtdpartsize macro triggers shell errors on various Linux distributions
when the partname argument $(1) does not appear within the partmap $(2).

Change the sed pattern to only emit anything if a successful substitution
occured and only evaluate the arithmetic expression if something was printed
by the sed program.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39583
2014-02-13 21:19:00 +00:00
..
lzma-loader ar71xx/image: relink loader.elf image to LOADADDR 2012-11-20 12:17:41 +00:00
Makefile ar71xx: fix mtdpartsize macro in image Makefile (#14961) 2014-02-13 21:19:00 +00:00
ubinize-wndr4300.ini ar71xx: generate recovery image for WNDR4300 2013-11-05 16:31:14 +00:00