summaryrefslogtreecommitdiffstats
path: root/rules/gst-plugins-bad1.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-09-29 11:19:50 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-09-29 11:22:33 +0200
commit4dffd07b1e626bd6ba5a03da973f3155da34a919 (patch)
tree30d008106f5dbc1409d1a63e78868f0c84f945b1 /rules/gst-plugins-bad1.make
parentdfcc529b7b1454ae5a4ed24403571c20e82353bd (diff)
downloadptxdist-4dffd07b1e626bd6ba5a03da973f3155da34a919.tar.gz
ptxdist-4dffd07b1e626bd6ba5a03da973f3155da34a919.tar.xz
gst-plugins-bad1: use kernel headers
The mfc plugin needs videodev2.h with V4L2_PIX_FMT_H264 defined. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
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
#