diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-13 21:19:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-02-13 21:19:00 +0000 |
commit | b1d7ebae09622252906f7a7da1af2e3f30f6cf0e (patch) | |
tree | ced391f212ed867497ec93c69008f66dd6ffefdc /target/linux/sparc | |
parent | af63cdf87ad76177fb7180e5fb57ec6f949fbb98 (diff) | |
download | upstream-b1d7ebae09622252906f7a7da1af2e3f30f6cf0e.tar.gz upstream-b1d7ebae09622252906f7a7da1af2e3f30f6cf0e.tar.bz2 upstream-b1d7ebae09622252906f7a7da1af2e3f30f6cf0e.zip |
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
Diffstat (limited to 'target/linux/sparc')
0 files changed, 0 insertions, 0 deletions