PASDK-401:Update make_sw to allow PASDK root directory to be set dynamically
authorFrank Livingston <frank-livingston@ti.com>
Sun, 1 Oct 2017 00:20:25 +0000 (19:20 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Sun, 1 Oct 2017 00:20:25 +0000 (19:20 -0500)
scripts/build_os_pkg.bat
tools

index 8feeb91f6890d4cb2472f6c3860c328c2c11c33a..56e974debe3d8bf4d23a419219bf0f8b03c988f1 100644 (file)
@@ -13,6 +13,8 @@
 
 if "%PASDK_ROOT_DIR%" == "" set PASDK_ROOT_DIR=%~dp0..
 
+set PASDK_ROOT_DIR_FS=%PASDK_ROOT_DIR:\=/%
+
 :: Set package destination directory
 if "%1"=="" goto def_prm_pkg_dest_dir
 
@@ -41,7 +43,7 @@ set PATH_ORG=%PATH%
 :: Add cygwin to path for bash
 set PATH=%CYGWIN_INSTALL_DIR%;%PATH%
 @pushd %PASDK_ROOT_DIR%\tools\make_sw
-@bash make_sw AVR
+@bash make_sw AVR %PASDK_ROOT_DIR_FS%
 @copy /Y ..\avr\alpha\*.* ..\alpha
 @popd
 set PATH=%PATH_ORG%
@@ -170,6 +172,6 @@ if NOT exist %OS_PKG_DEST_DIR%\nul ( mkdir %OS_PKG_DEST_DIR% )
 :cleanupenv
 set OS_PKG_DEST_DIR=
 set OS_PKG_FNAME=
-
+set PASDK_ROOT_DIR_FS=
 
 :end
diff --git a/tools b/tools
index c8cc3632e2bc153362a7922e9a720b37500a03d1..921dbfdfb415ae27a93006a77b06c290ddc89333 160000 (submodule)
--- a/tools
+++ b/tools
@@ -1 +1 @@
-Subproject commit c8cc3632e2bc153362a7922e9a720b37500a03d1
+Subproject commit 921dbfdfb415ae27a93006a77b06c290ddc89333