summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-21 19:12:08 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-21 21:33:39 +0200
commit1801dcc99985566de4c74721543661a80a78cdc8 (patch)
tree729a9ad66ad3897726178e27063ce773e87d877a /rbutil
parent884d8922e37586c1916ee124e78721e6dd946606 (diff)
downloadrockbox-1801dcc99985566de4c74721543661a80a78cdc8.tar.gz
rockbox-1801dcc99985566de4c74721543661a80a78cdc8.tar.bz2
rockbox-1801dcc99985566de4c74721543661a80a78cdc8.zip
rbutil: Fix native Windows build for tools.
- When make on Windows finds sh.exe it will try to use that. We use cmd.exe calls when detecting Windows, so make sure we use cmd.exe as shell. - Add missing Windows compatibility to tomcrypt Makefile. Change-Id: Iaef133ca27472a5ddf449174d540983f15c66aea
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/libtools.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/libtools.make b/rbutil/libtools.make
index dadc1a0545..7f9fa15f5b 100644
--- a/rbutil/libtools.make
+++ b/rbutil/libtools.make
@@ -22,6 +22,7 @@ endif
# Get directory this Makefile is in for relative paths.
TOP := $(dir $(lastword $(MAKEFILE_LIST)))
ifeq ($(OS),Windows_NT)
+SHELL = cmd.exe
mkdir = if not exist $(subst /,\,$(1)) mkdir $(subst /,\,$(1))
rm = if exist $(subst /,\,$(1)) del /q /s $(subst /,\,$(1))
else