summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch')
-rw-r--r--meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
new file mode 100644
index 000000000..cdf2c25d3
--- /dev/null
+++ b/meta-oe/recipes-graphics/fbida/files/0001-Avoid-using-host-path.patch
@@ -0,0 +1,34 @@
1From 8d8fa9f22d9f6a95523bac63ac3af724faf5ff92 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Fri, 7 Apr 2017 23:26:09 +0200
4Subject: [PATCH] Avoid using host-path
5
6Remove the explicit reference to /usr/local/* , this is completely
7bogus and causes trouble during cross-compilation.
8
9Signed-off-by: Marek Vasut <marex@denx.de>
10Upstream-Status: Inappropriate [upstream requires this]
11---
12 mk/Variables.mk | 6 ------
13 1 file changed, 6 deletions(-)
14
15diff --git a/mk/Variables.mk b/mk/Variables.mk
16index 99f787c..3ffd87a 100644
17--- a/mk/Variables.mk
18+++ b/mk/Variables.mk
19@@ -42,12 +42,6 @@ CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
20 -Wpointer-arith -Wunused
21 CXXFLAGS += -Wall -Wpointer-arith -Wunused
22
23-# add /usr/local to the search path if something is in there ...
24-ifneq ($(wildcard /usr/local/include/*.h),)
25- CFLAGS += -I/usr/local/include
26- LDFLAGS += -L/usr/local/$(LIB)
27-endif
28-
29 # fixup include path for $(srcdir) != "."
30 ifneq ($(srcdir),.)
31 CFLAGS += -I. -I$(srcdir)
32--
332.11.0
34