diff options
-rw-r--r-- | package/libv4l/libv4l.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 6c782b08e..15e48ed4f 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)) |