aboutsummaryrefslogtreecommitdiff
path: root/package/libv4l/libv4l.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libv4l/libv4l.mk')
-rw-r--r--package/libv4l/libv4l.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index 6c782b08e9..15e48ed4f3 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -24,19 +24,19 @@ endif
define LIBV4L_BUILD_CMDS
for i in $(LIBV4L_DIRS_y); do \
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
- $(LIBV4L_MAKE_OPTS); done
+ $(LIBV4L_MAKE_OPTS) || exit 1 ; done
endef
define LIBV4L_INSTALL_STAGING_CMDS
for i in $(LIBV4L_DIRS_y); do \
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
- DESTDIR=$(STAGING_DIR) $(LIBV4L_MAKE_OPTS) install; done
+ DESTDIR=$(STAGING_DIR) $(LIBV4L_MAKE_OPTS) install || exit 1; done
endef
define LIBV4L_INSTALL_TARGET_CMDS
for i in $(LIBV4L_DIRS_y); do \
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
- DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install; done
+ DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install || exit 1; done
endef
$(eval $(generic-package))