Commit e4e6a3a1 authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

package/mjpg-streamer: added optional dependency to libv4l

parent 2686c4f9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -14,8 +14,13 @@ MJPG_STREAMER_LICENSE = GPLv2+
MJPG_STREAMER_LICENSE_FILES = LICENSE
MJPG_STREAMER_DEPENDENCIES = jpeg

ifeq ($(BR2_PACKAGE_LIBV4L),y)
MJPG_STREAMER_DEPENDENCIES += libv4l
MJPG_STREAMER_USE_LIBV4L += USE_LIBV4L2=true
endif

define MJPG_STREAMER_BUILD_CMDS
	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D)
	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" -C $(@D) $(MJPG_STREAMER_USE_LIBV4L)
endef

define MJPG_STREAMER_INSTALL_TARGET_CMDS