mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 00:24:07 +02:00
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 <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
This commit is contained in:
parent
008d69cf6d
commit
9d07b84580
20
AppPkg/Applications/Python/Python-2.7.10/libprep.bat
Normal file
20
AppPkg/Applications/Python/Python-2.7.10/libprep.bat
Normal file
@ -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
|
13
AppPkg/Applications/Python/Python-2.7.10/srcprep.bat
Normal file
13
AppPkg/Applications/Python/Python-2.7.10/srcprep.bat
Normal file
@ -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!
|
Loading…
x
Reference in New Issue
Block a user