|
@@ -59,6 +59,9 @@ ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
|
|
|
LIBV4L_CONF_OPTS += --enable-v4l-utils
|
|
|
LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
|
|
+# v4l2-ctl needs c++11, use gnu++11 for typeof support
|
|
|
+LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11"
|
|
|
+
|
|
|
# IR BPF decoder support needs toolchain with linux-headers >= 3.18
|
|
|
# libelf and clang support
|
|
|
LIBV4L_CONF_OPTS += --disable-bpf
|
|
@@ -71,8 +74,6 @@ LIBV4L_CONF_ENV += \
|
|
|
ac_cv_prog_MOC=$(HOST_DIR)/bin/moc \
|
|
|
ac_cv_prog_RCC=$(HOST_DIR)/bin/rcc \
|
|
|
ac_cv_prog_UIC=$(HOST_DIR)/bin/uic
|
|
|
-# qt5 needs c++11 (since qt-5.7)/use gnu++11 for typeof support
|
|
|
-LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11"
|
|
|
else
|
|
|
LIBV4L_CONF_OPTS += --disable-qv4l2
|
|
|
endif
|