]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/tcl
Move toolchain from /tools to /tools_${arch}
[ipfire-2.x.git] / lfs / tcl
diff --git a/lfs/tcl b/lfs/tcl
index 06e9e08356bcb5a2bce776e818a88901b188775c..7762a1dc8f30984c3e50258262cdd796ef32a450 100644 (file)
--- a/lfs/tcl
+++ b/lfs/tcl
@@ -76,7 +76,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 ifneq "$(ROOT)" ""
-       cd $(DIR_APP)/unix && ./configure --prefix=/tools --disable-nls
+       cd $(DIR_APP)/unix && ./configure --prefix=$(TOOLS_DIR) --disable-nls
 else
        cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
 endif
@@ -84,7 +84,7 @@ endif
        cd $(DIR_APP)/unix && make install
 ifneq "$(ROOT)" ""
        cd $(DIR_APP)/unix && make install-private-headers
-       ln -sf tclsh8.6 /tools/bin/tclsh
+       ln -sf tclsh8.6 $(TOOLS_DIR)/bin/tclsh
 else
        ln -sf tclsh8.6 /usr/bin/tclsh
 endif