package/mjpg-streamer: added optional dependency to libv4l
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
2686c4f962
commit
e4e6a3a186
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user