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 <edk2-lists@mc2research.org>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19458
6f19259b-4bc3-4df7-8a09-
765794883524
--- /dev/null
+@echo off\r
+REM libprep.bat\r
+REM\r
+REM SYNTAX: libprep <path-to-new-lib-dir>\r
+REM\r
+SETLOCAL\r
+\r
+set dest=%1\r
+\r
+echo Copying files to %dest%.\r
+echo Existing files will be overwritten.\r
+echo.\r
+PAUSE\r
+\r
+REM Copy Distro then PyMod files to the destination\r
+XCOPY Lib %dest% /S /I /Y\r
+XCOPY PyMod-2.7.10\Lib %dest% /S /I /Y\r
+\r
+echo DONE\r
+ENDLOCAL\r
--- /dev/null
+@echo off\r
+REM Prepare the Python sources for EDK II by copying\r
+REM the .h files from the PyMod tree into the Python tree.\r
+REM Directory correspondence is maintained.\r
+\r
+FOR %%d IN (Include Modules Objects Python) DO (\r
+ echo.\r
+ echo Processing the %%d directory.\r
+ XCOPY /S /Y /Q PyMod-2.7.10\%%d\*.h %%d\r
+)\r
+\r
+echo.\r
+echo DONE!\r