build: add support for building tools targeting host machine
This commit is contained in:
8
tools/tool-config.mk
Normal file
8
tools/tool-config.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
TOOLS_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH)))
|
||||
|
||||
include $(TOOLS_DIR)/make/gcc-host.mk
|
||||
|
||||
TOOLS_BUILD_DIR := $(TOOLS_DIR)/../build/tools
|
||||
BUILD_DIR := $(TOOLS_BUILD_DIR)/$(TOOL_NAME)
|
||||
Reference in New Issue
Block a user