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 | 731543f24d83806ae2be09648d231f04d2aecefe (patch) | |
tree | c1ec7bfba60af681ffe461650c37d43293251bf4 /feeds.conf.default | |
parent | 2aeabcb857e32494bdb8385a2fb5c8c529fe35be (diff) | |
download | master-187ad058-731543f24d83806ae2be09648d231f04d2aecefe.tar.gz master-187ad058-731543f24d83806ae2be09648d231f04d2aecefe.tar.bz2 master-187ad058-731543f24d83806ae2be09648d231f04d2aecefe.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39583 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'feeds.conf.default')
0 files changed, 0 insertions, 0 deletions