DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
-ifeq "$(LFS_PASS)" "toolchain"
+ifneq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)-tools
else
TARGET = $(DIR_INFO)/$(THISAPP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-ifeq "$(LFS_PASS)" "toolchain"
+ifneq "$(ROOT)" ""
cd $(DIR_APP)/unix && ./configure --prefix=/tools --disable-nls
else
cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
endif
cd $(DIR_APP)/unix && make $(MAKETUNING)
cd $(DIR_APP)/unix && make install
-ifeq "$(LFS_PASS)" "toolchain"
+ifneq "$(ROOT)" ""
cd $(DIR_APP)/unix && make install-private-headers
ln -sf tclsh8.4 /tools/bin/tclsh
else