diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-04-24 10:40:17 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-04-24 10:40:23 +0200 |
commit | 57412ff4c550cb7be4943d0d7c8465219bcfaf2a (patch) | |
tree | d36b6d19639ab1b98fd59e2a2845bfbf81422617 /rules/gst-plugins-good1.make | |
parent | 7bad91c821e632177c10cbbcb3b55e4dd79eb515 (diff) | |
download | ptxdist-57412ff4c550cb7be4943d0d7c8465219bcfaf2a.tar.gz ptxdist-57412ff4c550cb7be4943d0d7c8465219bcfaf2a.tar.xz |
gst-plugins-good1: only use kernel headers if enabled
Otherwise the compiler will produce warnings because the directory is
missing.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-plugins-good1.make')
-rw-r--r-- | rules/gst-plugins-good1.make | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/gst-plugins-good1.make b/rules/gst-plugins-good1.make index 7cea101d6..debc07fd1 100644 --- a/rules/gst-plugins-good1.make +++ b/rules/gst-plugins-good1.make @@ -117,10 +117,12 @@ GST_PLUGINS_GOOD1_ENABLEC-y += $(GST_PLUGINS_GOOD1_ENABLE-y) GST_PLUGINS_GOOD1_ENABLEC- += $(GST_PLUGINS_GOOD1_ENABLE-) GST_PLUGINS_GOOD1_ENABLEP-y += $(GST_PLUGINS_GOOD1_ENABLE-y) +ifdef PTXCONF_KERNEL_HEADER # for new linux/videodev2.h from kernel headers GST_PLUGINS_GOOD1_CONF_ENV := \ $(CROSS_ENV) \ CPPFLAGS="$(CROSS_CPPFLAGS) -isystem $(KERNEL_HEADERS_INCLUDE_DIR)" +endif # # autoconf |