summaryrefslogtreecommitdiffstats
path: root/rules/gst-plugins-good1.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-13 15:04:33 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-13 15:11:50 +0100
commit87fe8ebc88d5effc93a5bb9eeabc2e1860a84c04 (patch)
tree8a0b9152e4d1e4c24952393e1aec16c59565a372 /rules/gst-plugins-good1.make
parentbb83b033a6cef1ae2356bf117be8b9ffb873b105 (diff)
downloadptxdist-87fe8ebc88d5effc93a5bb9eeabc2e1860a84c04.tar.gz
ptxdist-87fe8ebc88d5effc93a5bb9eeabc2e1860a84c04.tar.xz
rules: use the correct include search order for kernel headers
The kernel headers should be used before the toolchain headers but after any local include paths. Use '-isystem' to handle this. Without this, e.g. systemd may fail to build: It has it's own copy of linux/bpf.h but a incompatible version from the toochain may be used instead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-plugins-good1.make')
-rw-r--r--rules/gst-plugins-good1.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/gst-plugins-good1.make b/rules/gst-plugins-good1.make
index 43d276767..77a810294 100644
--- a/rules/gst-plugins-good1.make
+++ b/rules/gst-plugins-good1.make
@@ -113,7 +113,7 @@ GST_PLUGINS_GOOD1_ENABLEP-y += $(GST_PLUGINS_GOOD1_ENABLE-y)
# for new linux/videodev2.h from kernel headers
GST_PLUGINS_GOOD1_CONF_ENV := \
$(CROSS_ENV) \
- CPPFLAGS="$(CROSS_CPPFLAGS) -I$(KERNEL_HEADERS_INCLUDE_DIR)"
+ CPPFLAGS="$(CROSS_CPPFLAGS) -isystem $(KERNEL_HEADERS_INCLUDE_DIR)"
#
# autoconf