meta-openembedded/meta-networking/recipes-connectivity/vlan/vlan-1.9/no-HOME-includes.patch
Dmitry Eremin-Solenikov e6e25bcaf7 vlan: don't try to include files from ${HOME}/linux/include
vlan sources explicitly adds ~/linux/include to compiler include path.
If that directory does exist, this leads to various issues. Drop this
explicit exclude path.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-01-26 09:45:13 -05:00

23 lines
692 B
Diff

From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Subject: vlan: do not include ${HOME}/linux/include dir
~/linux/include dir may exist and so will be added to include path
in front of sanitized kernel headers in OE chroot. Drop this include
option.
Upstream-Status: not-applicable
Index: vlan/MakeInclude
===================================================================
--- vlan.orig/MakeInclude
+++ vlan/MakeInclude
@@ -16,7 +16,7 @@ ifeq "${PLATFORM}" ""
endif
## You may need to change this linux/include part.
-CCFLAGS = -g -D_GNU_SOURCE -Wall -I${HOME}/linux/include
+CCFLAGS = -g -D_GNU_SOURCE -Wall
LDLIBS = # -lm #-lnsl # -lsocket
ARM_TC_BIN = ${HOME}/Intrinsyc/bin