blob: 97a6357ab98fc3702b9804cb1c4ca77f94818f8e [file] [log] [blame]
Patrick Williams44b3caf2024-04-12 16:51:14 -05001From 7cb2d20cfa2a27191255031d231cd41917dcffe8 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 26 Dec 2016 16:10:35 +0800
4Subject: [PATCH] local.mk: fix cross compiling problem
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6We meet the following error when cross compiling.
7| Makefile:3418: *** Recursive variable 'INSTALL' references itself (eventually). Stop.
8This patch fixes this problem.
9
10Upstream-Status: Pending
11
12Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13---
14 src/local.mk | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/local.mk b/src/local.mk
Patrick Williams44b3caf2024-04-12 16:51:14 -050018index 96ee941..cdd47d6 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019--- a/src/local.mk
20+++ b/src/local.mk
Patrick Williams44b3caf2024-04-12 16:51:14 -050021@@ -704,4 +704,4 @@ cu_install_program = @INSTALL@
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022 else
23 cu_install_program = src/ginstall
24 endif
25-INSTALL = $(cu_install_program) -c
26+INSTALL_PROGRAM = $(cu_install_program)