summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch')
-rw-r--r--meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch b/meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch
new file mode 100644
index 0000000000..66f9a716c9
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch
@@ -0,0 +1,26 @@
1Subject: local.mk: fix cross compiling problem
2
3We meet the following error when cross compiling.
4| Makefile:3418: *** Recursive variable 'INSTALL' references itself (eventually). Stop.
5This patch fixes this problem.
6
7Upstream-Status: Pending
8
9Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10---
11 src/local.mk | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/src/local.mk b/src/local.mk
15index 36dfa4e..c5898cc 100644
16--- a/src/local.mk
17+++ b/src/local.mk
18@@ -649,4 +649,4 @@ cu_install_program = @INSTALL_PROGRAM@
19 else
20 cu_install_program = src/ginstall
21 endif
22-INSTALL = $(cu_install_program) -c
23+INSTALL_PROGRAM = $(cu_install_program)
24--
252.1.0
26