]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
ncurses: use foreach make loops instead of shell for loops
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Aug 2016 20:34:36 +0000 (22:34 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 3 Aug 2016 20:52:42 +0000 (22:52 +0200)
commit3ad7e33113735027f92ccb83575899e07fb2774f
tree4d24561cc5a9a2d67568f4dc1e62d8beebf92240
parent33ba5188351ece027455e460f6cba4245af49f3a
ncurses: use foreach make loops instead of shell for loops

The main benefit of using make foreach loops is that they will abort
if one of the iteration of the loop fails. The current for loops will
continue, and only report a failure if the last iteration was a
failure, but will silently ignore other errors.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ncurses/ncurses.mk