libv4l: properly error out when one of the make step fails
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Oct 2012 08:18:20 +0000 (08:18 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 14 Oct 2012 18:52:39 +0000 (20:52 +0200)
commit5c28f5956f7da25071303411c8fef308065f2887
tree549cb45273694f7a0069708984302eced0f95c72
parentd3eced2687b68659716c7f4729e4bd31674934f7
libv4l: properly error out when one of the make step fails

In libv4l.mk, if there are multiple elements in $(LIBV4L_DIRS_y), they
are built in order, one after the other. However, our loop construct
doesn't take into account the fact that we should error out if one of
the steps failed.

A good illustration is having BR2_PACKAGE_LIBV4L_DECODE_TM6000 and
BR2_PACKAGE_LIBV4L_V4L2_CTL enabled. The build of decode-tm6000 will
fail, but the build will happily continue without stopping in libv4l.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libv4l/libv4l.mk