Revision: 19458
          http://sourceforge.net/p/edk2/code/19458
Author:   darylm503
Date:     2015-12-22 23:57:04 +0000 (Tue, 22 Dec 2015)
Log Message:
-----------
AppPkg/.../Python-2.7.10: New helper scripts

New files libprep.bat and srcprep.bat.
These scripts make it easier to set up the source tree and the target system's
library directory by automating the required file copy operations.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <[email protected]>
Reviewed-by: Erik Bjorge <[email protected]>

Added Paths:
-----------
    trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/libprep.bat
    trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/srcprep.bat

Added: trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/libprep.bat
===================================================================
--- trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/libprep.bat             
                (rev 0)
+++ trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/libprep.bat     
2015-12-22 23:57:04 UTC (rev 19458)
@@ -0,0 +1,20 @@
+@echo off
+REM libprep.bat
+REM
+REM SYNTAX: libprep <path-to-new-lib-dir>
+REM
+SETLOCAL
+
+set dest=%1
+
+echo Copying files to %dest%.
+echo Existing files will be overwritten.
+echo.
+PAUSE
+
+REM Copy Distro then PyMod files to the destination
+XCOPY Lib %dest% /S /I /Y
+XCOPY PyMod-2.7.10\Lib %dest% /S /I /Y
+
+echo DONE
+ENDLOCAL

Added: trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/srcprep.bat
===================================================================
--- trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/srcprep.bat             
                (rev 0)
+++ trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/srcprep.bat     
2015-12-22 23:57:04 UTC (rev 19458)
@@ -0,0 +1,13 @@
+@echo off
+REM Prepare the Python sources for EDK II by copying
+REM the .h files from the PyMod tree into the Python tree.
+REM Directory correspondence is maintained.
+
+FOR %%d IN (Include Modules Objects Python) DO (
+  echo.
+  echo Processing the %%d directory.
+  XCOPY /S /Y /Q PyMod-2.7.10\%%d\*.h %%d
+)
+
+echo.
+echo DONE!


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to