aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2018-02-06 19:35:13 +0000
committerSteve Holme <steve_holme@hotmail.com>2018-02-06 19:35:13 +0000
commitff07089585300739212d0b3dab66b92d21cafb1d (patch)
tree852875e9987b30903c606178f679dc1dc951b032
parentdc85437736e1fc90e689bb1f6c51c8f1aa9430eb (diff)
build-openssl.bat/build-wolfssl.bat: Build platform is optional
Whilst the compiler parameter is mandatory, platform is optional as it is automatically calculated by the :configure section. This partially reverts commit 6d62d2c55d.
-rw-r--r--projects/build-openssl.bat5
-rw-r--r--projects/build-wolfssl.bat5
2 files changed, 4 insertions, 6 deletions
diff --git a/projects/build-openssl.bat b/projects/build-openssl.bat
index 6389e87a5..b69276848 100644
--- a/projects/build-openssl.bat
+++ b/projects/build-openssl.bat
@@ -120,9 +120,8 @@ rem ***************************************************************************
shift & goto parseArgs
:prerequisites
- rem Compiler and platform are required parameters.
+ rem Compiler is a required parameter
if not defined VC_VER goto syntax
- if not defined BUILD_PLATFORM goto syntax
rem Default the start directory if one isn't specified
if not defined START_DIR set START_DIR=..\..\openssl
@@ -312,7 +311,7 @@ rem ***************************************************************************
:syntax
rem Display the help
echo.
- echo Usage: build-openssl ^<compiler^> ^<platform^> [configuration] [directory]
+ echo Usage: build-openssl ^<compiler^> [platform] [configuration] [directory]
echo.
echo Compiler:
echo.
diff --git a/projects/build-wolfssl.bat b/projects/build-wolfssl.bat
index 1c3b8c5b0..e5cf1536a 100644
--- a/projects/build-wolfssl.bat
+++ b/projects/build-wolfssl.bat
@@ -107,9 +107,8 @@ rem ***************************************************************************
shift & goto parseArgs
:prerequisites
- rem Compiler and platform are required parameters.
+ rem Compiler is a required parameter
if not defined VC_VER goto syntax
- if not defined BUILD_PLATFORM goto syntax
rem Default the start directory if one isn't specified
if not defined START_DIR set START_DIR=..\..\wolfssl
@@ -300,7 +299,7 @@ rem ***************************************************************************
:syntax
rem Display the help
echo.
- echo Usage: build-wolfssl ^<compiler^> ^<platform^> [configuration] [directory]
+ echo Usage: build-wolfssl ^<compiler^> [platform] [configuration] [directory]
echo.
echo Compiler:
echo.