summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-02-27 22:05:39 +0000
committerSolomon Peachy <pizza@shaftnet.org>2021-02-27 22:51:52 +0000
commit6224efb238a08019c22ec09164abb578c42a35f6 (patch)
tree6ed72be35622ba99ce4f0dc1d96f8a98e9956571
parent96019d23aaf65e0d12971ec2a209824e45026898 (diff)
downloadrockbox-6224efb238a08019c22ec09164abb578c42a35f6.tar.gz
rockbox-6224efb238a08019c22ec09164abb578c42a35f6.zip
Fix build system not respecting TOOLSET
It seems that 'toolset=' in tools/configure was set but not used, with the build system only generating a hardcoded set of tools. This change fixes the issue by exporting the required tools in the TOOLSET variable, and having root.make append those to the TOOLS list. Change-Id: I07024bdf1dd2260c32cfeecaba0d3bb5bf00346d
-rwxr-xr-xtools/configure1
-rw-r--r--tools/root.make1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 36e951e4d2..07d90b26ef 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4816,6 +4816,7 @@ export ANDROID_ARCH=${ANDROID_ARCH}
4816export ANDROID_NDK_PATH=${ANDROID_NDK_PATH} 4816export ANDROID_NDK_PATH=${ANDROID_NDK_PATH}
4817export ANDROID_SDK_PATH=${ANDROID_SDK_PATH} 4817export ANDROID_SDK_PATH=${ANDROID_SDK_PATH}
4818export ANDROID_PLATFORM_VERSION=${ANDROID_PLATFORM_VERSION} 4818export ANDROID_PLATFORM_VERSION=${ANDROID_PLATFORM_VERSION}
4819export TOOLSET=${toolset}
4819 4820
4820CONFIGURE_OPTIONS=${cmdline} 4821CONFIGURE_OPTIONS=${cmdline}
4821 4822
diff --git a/tools/root.make b/tools/root.make
index 3f5b4bca17..296ca849de 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -23,6 +23,7 @@ TOOLS = $(TOOLSDIR)/rdf2binary $(TOOLSDIR)/convbdf \
23 $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \ 23 $(TOOLSDIR)/codepages $(TOOLSDIR)/scramble $(TOOLSDIR)/bmp2rb \
24 $(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \ 24 $(TOOLSDIR)/uclpack $(TOOLSDIR)/mkboot $(TOOLSDIR)/iaudio_bl_flash.c \
25 $(TOOLSDIR)/iaudio_bl_flash.h 25 $(TOOLSDIR)/iaudio_bl_flash.h
26TOOLS += $(foreach tool,$(TOOLSET),$(TOOLSDIR)/$(tool))
26 27
27 28
28ifeq (,$(PREFIX)) 29ifeq (,$(PREFIX))