- make sure that the path for the lzma-host-binary exist

This commit is contained in:
Bernhard Reutner-Fischer 2007-08-31 14:27:07 +00:00
parent c306dd8dbf
commit aacedef60c

View File

@ -56,7 +56,7 @@ $(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma
.PHONY: lzma-host use-lzma-host-binary .PHONY: lzma-host use-lzma-host-binary
use-lzma-host-binary: use-lzma-host-binary:
if [ ! -f "$(TOOL_BUILD_DIR)/bin/lzma" ]; then \ if [ ! -f "$(TOOL_BUILD_DIR)/bin/lzma" ]; then \
[ -d $(TOOL_BUILD_DIR)/bin ] || mkdir $(TOOL_BUILD_DIR)/bin; \ [ -d $(TOOL_BUILD_DIR)/bin ] || mkdir -p $(TOOL_BUILD_DIR)/bin; \
ln -sf "$(HOST_LZMA_IF_ANY)" "$(TOOL_BUILD_DIR)/bin/lzma"; \ ln -sf "$(HOST_LZMA_IF_ANY)" "$(TOOL_BUILD_DIR)/bin/lzma"; \
fi fi