[Buildroot] [PATCH/next 4/4] package/mjpg-streamer: added optional dependency to libv4l
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 14 20:56:49 UTC 2016
Dear Bernd Kuhls,
On Sun, 14 Feb 2016 10:29:36 +0100, Bernd Kuhls wrote:
> +ifeq ($(BR2_PACKAGE_LIBV4L),y)
> +MJPG_STREAMER_DEPENDENCIES += libv4l
> +MJPG_STREAMER_USE_LIBV4L += USE_LIBV4L2=true
> +endif
On this one, some possible further improvements:
- Use a variable named MJPG_STREAMER_MAKE_OPTS and not
MJPG_STREAMER_USE_LIBV4L.
- Pass USE_LIBV4L2=false when libv4l is not enabled (if passing =false
actually has the intended effect)
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list