mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
884d8922e3
commit
1801dcc999
4 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue