summaryrefslogtreecommitdiffstats
path: root/rules/gst-plugins-bad1.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/gst-plugins-bad1.make')
-rw-r--r--rules/gst-plugins-bad1.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/gst-plugins-bad1.make b/rules/gst-plugins-bad1.make
index 772fbf6bd..89f4e1d66 100644
--- a/rules/gst-plugins-bad1.make
+++ b/rules/gst-plugins-bad1.make
@@ -190,6 +190,11 @@ GST_PLUGINS_BAD1_ENABLEC-y += $(GST_PLUGINS_BAD1_ENABLE-y)
GST_PLUGINS_BAD1_ENABLEC- += $(GST_PLUGINS_BAD1_ENABLE-)
GST_PLUGINS_BAD1_ENABLEP-y += $(GST_PLUGINS_BAD1_ENABLE-y)
+# for new linux/videodev2.h from kernel headers
+GST_PLUGINS_BAD1_CONF_ENV := \
+ $(CROSS_ENV) \
+ CPPFLAGS="$(CROSS_CPPFLAGS) -I$(KERNEL_HEADERS_INCLUDE_DIR)"
+
#
# autoconf
#