Makefile: use HOST_DIR_SYMLINK instead of hardcoding

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas De Schampheleire 2020-02-18 16:00:59 +01:00 committed by Thomas Petazzoni
parent e1db66f80d
commit 1b62227d43

View File

@ -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.