From c945ee059a5e90744666fbb0dd915221a937c4d3 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 30 Apr 2023 14:25:41 +0100 Subject: [PATCH] build: define source root directory and kernel arch for tool makefiles --- tools/tool-config.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/tool-config.mk b/tools/tool-config.mk index ce8ba5a..c59728e 100644 --- a/tools/tool-config.mk +++ b/tools/tool-config.mk @@ -1,8 +1,10 @@ - MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) TOOLS_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH))) +SOCKS_ARCH ?= x86_64 + include $(TOOLS_DIR)/make/gcc-host.mk +SOURCE_ROOT := $(TOOLS_DIR)/.. TOOLS_BUILD_DIR := $(TOOLS_DIR)/../build/tools BUILD_DIR := $(TOOLS_BUILD_DIR)/$(TOOL_NAME)