openwrtv4/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 ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards 2013-12-16 18:08:51 +00:00
nand ar71xx: move WNDR4300 profile to the nand subtarget 2013-11-04 18:37:09 +00:00
patches-3.10 kernel: update 3.10 to 3.10.28 2014-01-26 11:30:34 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
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 ar71xx: always enable hw ecc support for the ar934x-nfc module 2013-11-01 18:33:18 +00:00