Message ID | 20180629195248.4008-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] libv4l: add optional sdl2_image dependency | expand |
Hello, On Fri, 29 Jun 2018 21:52:47 +0200, Fabrice Fontaine wrote: > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > --- > package/libv4l/libv4l.mk | 4 ++++ > 1 file changed, 4 insertions(+) I've explained explicitly in the commit log that there is no --enable/--disable option, as the configure.ac script simply uses PKG_CHECK_MODULES() to detect the availability of sdl2_image. Applied with this updated commit log. Thanks! Thomas
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed to 2018.02.x and 2018.05.x, thanks.
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 11061306c7..95a700b2d5 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -73,6 +73,10 @@ else LIBV4L_CONF_OPTS += --disable-v4l-utils endif +ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) +LIBV4L_DEPENDENCIES += sdl2_image +endif + LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" $(eval $(autotools-package))
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/libv4l/libv4l.mk | 4 ++++ 1 file changed, 4 insertions(+)