mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
To reflect the new output directory hierachy rename the Makefile variable TOOL_BUILD_DIR to TOOLCHAIN_DIR. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
be695dcc3c
commit
cb5710c538
@@ -7,7 +7,7 @@ FILE_VERSION:=4.26
|
||||
FILE_SOURCE:=file-$(FILE_VERSION).tar.gz
|
||||
FILE_SITE:=ftp://ftp.astron.com/pub/file/
|
||||
FILE_SOURCE_DIR:=$(BUILD_DIR)/file-$(FILE_VERSION)
|
||||
FILE_DIR1:=$(TOOL_BUILD_DIR)/file-$(FILE_VERSION)-host
|
||||
FILE_DIR1:=$(TOOLCHAIN_DIR)/file-$(FILE_VERSION)-host
|
||||
FILE_DIR2:=$(BUILD_DIR)/file-$(FILE_VERSION)-target
|
||||
FILE_CAT:=$(ZCAT)
|
||||
FILE_BINARY:=src/file
|
||||
@@ -33,11 +33,11 @@ $(FILE_DIR1)/.configured: $(FILE_SOURCE_DIR)/.unpacked
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(TOOL_BUILD_DIR)/bin/file: $(FILE_DIR1)/.configured
|
||||
$(TOOLCHAIN_DIR)/bin/file: $(FILE_DIR1)/.configured
|
||||
$(MAKE) -C $(FILE_DIR1) install
|
||||
ln -sf $(FILE_DIR1)/install/bin/file $(TOOL_BUILD_DIR)/bin/file
|
||||
ln -sf $(FILE_DIR1)/install/bin/file $(TOOLCHAIN_DIR)/bin/file
|
||||
|
||||
host-file: $(TOOL_BUILD_DIR)/bin/file
|
||||
host-file: $(TOOLCHAIN_DIR)/bin/file
|
||||
|
||||
host-file-clean:
|
||||
-$(MAKE) -C $(FILE_DIR1) clean
|
||||
@@ -84,7 +84,7 @@ $(FILE_DIR2)/.configured: $(FILE_SOURCE_DIR)/.unpacked
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOL_BUILD_DIR)/bin/file
|
||||
$(FILE_DIR2)/$(FILE_BINARY): $(FILE_DIR2)/.configured $(TOOLCHAIN_DIR)/bin/file
|
||||
ln -sf $(FILE_DIR1)/install/bin/file $(FILE_DIR2)/magic/file
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="-static" -C $(FILE_DIR2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user