X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Ftcl;h=e863729232713fe0ccbfae9da479d61f26fea15f;hp=a62b4e6b052101953bad19b923a46e70ba27ef99;hb=6397b6e78974f316d9358841120f8e8bb34007f3;hpb=c32eea083ba011e46abca44fa26cda8875769768 diff --git a/lfs/tcl b/lfs/tcl index a62b4e6b0..e86372923 100644 --- a/lfs/tcl +++ b/lfs/tcl @@ -31,7 +31,7 @@ DL_FILE = $(THISAPP)-src.tar.gz 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) @@ -75,14 +75,14 @@ $(subst %,%_MD5,$(objects)) : $(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