summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils/0001-local.mk-fix-cross-compiling-problem.patch
blob: 97a6357ab98fc3702b9804cb1c4ca77f94818f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 7cb2d20cfa2a27191255031d231cd41917dcffe8 Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Mon, 26 Dec 2016 16:10:35 +0800
Subject: [PATCH] local.mk: fix cross compiling problem

We meet the following error when cross compiling.
| Makefile:3418: *** Recursive variable 'INSTALL' references itself (eventually).  Stop.
This patch fixes this problem.

Upstream-Status: Pending

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 src/local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/local.mk b/src/local.mk
index 96ee941..cdd47d6 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -704,4 +704,4 @@ cu_install_program = @INSTALL@
 else
 cu_install_program = src/ginstall
 endif
-INSTALL = $(cu_install_program) -c
+INSTALL_PROGRAM = $(cu_install_program)