summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-01-15 13:13:46 +0300
committerJoe MacDonald <joe_macdonald@mentor.com>2015-01-26 09:45:13 -0500
commite6e25bcaf74dc83df79214d28d5a2c25cdac248e (patch)
treee3ccb7a99a0f67315f878a77163d79fd5a41fb27 /meta-networking/recipes-connectivity
parent1e67431ece594809d35bdc86d608a96fedf6e9cb (diff)
downloadmeta-openembedded-e6e25bcaf74dc83df79214d28d5a2c25cdac248e.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/vlan/vlan-1.9/no-HOME-includes.patch22
-rw-r--r--meta-networking/recipes-connectivity/vlan/vlan_1.9.bb3
2 files changed, 24 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/vlan/vlan-1.9/no-HOME-includes.patch b/meta-networking/recipes-connectivity/vlan/vlan-1.9/no-HOME-includes.patch
new file mode 100644
index 000000000..b7ab7d97c
--- /dev/null
+++ b/meta-networking/recipes-connectivity/vlan/vlan-1.9/no-HOME-includes.patch
@@ -0,0 +1,22 @@
1From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2Subject: vlan: do not include ${HOME}/linux/include dir
3
4~/linux/include dir may exist and so will be added to include path
5in front of sanitized kernel headers in OE chroot. Drop this include
6option.
7
8Upstream-Status: not-applicable
9
10Index: vlan/MakeInclude
11===================================================================
12--- vlan.orig/MakeInclude
13+++ vlan/MakeInclude
14@@ -16,7 +16,7 @@ ifeq "${PLATFORM}" ""
15 endif
16
17 ## You may need to change this linux/include part.
18-CCFLAGS = -g -D_GNU_SOURCE -Wall -I${HOME}/linux/include
19+CCFLAGS = -g -D_GNU_SOURCE -Wall
20 LDLIBS = # -lm #-lnsl # -lsocket
21
22 ARM_TC_BIN = ${HOME}/Intrinsyc/bin
diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
index 2c4f1577e..d980a47f2 100644
--- a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
+++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb
@@ -2,7 +2,8 @@ SUMMARY = "VLAN provides vconfig utility"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb" 3LIC_FILES_CHKSUM = "file://vconfig.c;md5=293ef69c4e88434d37a5ee577a5288cb"
4 4
5SRC_URI = "http://${BPN}.sourcearchive.com/downloads/${PV}-3ubuntu9/${BPN}_${PV}.orig.tar.gz" 5SRC_URI = "http://${BPN}.sourcearchive.com/downloads/${PV}-3ubuntu9/${BPN}_${PV}.orig.tar.gz \
6 file://no-HOME-includes.patch"
6 7
7SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394" 8SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394"
8SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca" 9SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca"