diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-14 10:29:36 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-14 21:53:06 +0100 |
commit | e4e6a3a186f58bee3566eb1aaa5b8a311fb515c8 (patch) | |
tree | f2627a94bcb9e50b32e421a68d4c7db307b967ea | |
parent | 2686c4f962bb0acc7dabc935468ae3a27943db5d (diff) | |
download | buildroot-e4e6a3a186f58bee3566eb1aaa5b8a311fb515c8.tar.gz buildroot-e4e6a3a186f58bee3566eb1aaa5b8a311fb515c8.zip |
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>
-rw-r--r-- | package/mjpg-streamer/mjpg-streamer.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/mjpg-streamer/mjpg-streamer.mk b/package/mjpg-streamer/mjpg-streamer.mk index e54c6006f9..a710af6fc7 100644 --- a/package/mjpg-streamer/mjpg-streamer.mk +++ b/package/mjpg-streamer/mjpg-streamer.mk @@ -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 |