forked from wolfSSL/wolfssl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
38 lines (33 loc) · 1.14 KB
/
Copy pathbuild.bat
File metadata and controls
38 lines (33 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
setlocal
set MAKE=C:\Renesas\e2_studio\eclipse\plugins\com.renesas.ide.exttools.gnumake.win32.x86_64_4.3.1.v20240909-0854\mk\make.exe
set CCRX_BIN=C:\PROGRA~2\Renesas\RX\3_6_0\bin
set E2_UTILS=%USERPROFILE%\.eclipse\com.renesas.platform_1435879475\Utilities\ccrx
set PATH=%CCRX_BIN%;%E2_UTILS%;%PATH%
set BASEDIR=%~dp0
set TARGET=all
if /i "%1"=="clean" set TARGET=clean
echo ============================================================
echo wolfssl library [%TARGET%]
echo ============================================================
cd /d "%BASEDIR%wolfssl\Debug"
"%MAKE%" %TARGET%
if %ERRORLEVEL% neq 0 (
echo [ERROR] wolfssl build failed.
exit /b %ERRORLEVEL%
)
echo.
echo ============================================================
echo test application [%TARGET%]
echo ============================================================
cd /d "%BASEDIR%test\HardwareDebug"
"%MAKE%" %TARGET%
if %ERRORLEVEL% neq 0 (
echo [ERROR] test build failed.
exit /b %ERRORLEVEL%
)
echo.
echo ============================================================
echo Done.
echo ============================================================
endlocal