mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-06 13:06:11 +02:00
Fix toolchain tcl build.
This commit is contained in:
6
lfs/tcl
6
lfs/tcl
@@ -31,7 +31,7 @@ DL_FILE = $(THISAPP)-src.tar.gz
|
|||||||
DL_FROM = $(URL_IPFIRE)
|
DL_FROM = $(URL_IPFIRE)
|
||||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
|
|
||||||
ifeq "$(LFS_PASS)" "toolchain"
|
ifneq "$(ROOT)" ""
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)-tools
|
TARGET = $(DIR_INFO)/$(THISAPP)-tools
|
||||||
else
|
else
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
@@ -75,14 +75,14 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@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
|
cd $(DIR_APP)/unix && ./configure --prefix=/tools --disable-nls
|
||||||
else
|
else
|
||||||
cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
|
cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
|
||||||
endif
|
endif
|
||||||
cd $(DIR_APP)/unix && make $(MAKETUNING)
|
cd $(DIR_APP)/unix && make $(MAKETUNING)
|
||||||
cd $(DIR_APP)/unix && make install
|
cd $(DIR_APP)/unix && make install
|
||||||
ifeq "$(LFS_PASS)" "toolchain"
|
ifneq "$(ROOT)" ""
|
||||||
cd $(DIR_APP)/unix && make install-private-headers
|
cd $(DIR_APP)/unix && make install-private-headers
|
||||||
ln -sf tclsh8.4 /tools/bin/tclsh
|
ln -sf tclsh8.4 /tools/bin/tclsh
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user