[Buildroot] [PATCH 1/2] Makefile: use HOST_DIR_SYMLINK instead of hardcoding

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Feb 18 15:00:59 UTC 2020


From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a52f1c75fd..facccd32e7 100644
--- a/Makefile
+++ b/Makefile
@@ -455,7 +455,7 @@ endif
 ifneq ($(HOST_DIR),$(BASE_DIR)/host)
 HOST_DIR_SYMLINK = $(BASE_DIR)/host
 $(HOST_DIR_SYMLINK): $(BASE_DIR)
-	ln -snf $(HOST_DIR) $(BASE_DIR)/host
+	ln -snf $(HOST_DIR) $(HOST_DIR_SYMLINK)
 endif
 
 # Quotes are needed for spaces and all in the original PATH content.
-- 
2.24.1



More information about the buildroot mailing list