Openwrt/target/linux/ar71xx
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
..
base-files ar71xx: dragino2: add missing sysupgrade support. 2014-01-30 17:08:02 +00:00
files ar71xx: wpe72: set active_low flag for the reset button 2014-01-26 14:55:34 +00:00
generic generate images for the On Networks N150 (rebranded Netgear WNR612v2) 2014-01-18 19:44:40 +00:00
image ar71xx: fix mtdpartsize macro in image Makefile (#14961) 2014-02-13 21:19:00 +00:00
mikrotik
nand
patches-3.10 kernel: update 3.10 to 3.10.28 2014-01-26 11:30:34 +00:00
base-files.mk
config-3.10 ar71xx: enable MTD_SPLIT_LZMA_FW option 2014-01-24 17:15:01 +00:00
Makefile kernel: update 3.10 to 3.10.28 2014-01-26 11:30:34 +00:00
modules.mk