AppPkg/Applications/Python: Get Python startup process fully working for EDK II.
AppPkg.dsc: Clean up and add Socket support. Applications/Python/PythonCore.inf: Re-order source files. Applications/Python/Efi/config.c: Add all mandatory modules. Disable remaining. Applications/Python/Efi/edk2module.c: EDK II port of posixmodule.c. Applications/Python/Efi/getpath.c: Determine initial module search path. Applications/Python/Ia32/pyconfig.h: Configuration macros for Ia32. Applications/Python/Ipf/pyconfig.h: Configuration macros for Ipf. Applications/Python/PyMod-2.7.2/Include/osdefs.h: Select appropriate directory and path separators for UEFI. Applications/Python/PyMod-2.7.2/Lib/ntpath.py: Allow multi-character device names to left of colon. Applications/Python/PyMod-2.7.2/Lib/os.py: Add edk2 as a supported OS. Applications/Python/PyMod-2.7.2/Lib/site.py: UEFI-specific path and environment setup. Applications/Python/PyMod-2.7.2/Modules/errnomodule.c: Sync with errno.h. Applications/Python/PyMod-2.7.2/Modules/selectmodule.c: Add UEFI support. Applications/Python/PyMod-2.7.2/Modules/socketmodule.h: Add UEFI support. Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h: Add UEFI support. Applications/Python/PyMod-2.7.2/Python/getcopyright.c: Add Intel copyright. Applications/Python/X64/pyconfig.h: Configuration macros for X64. Signed-off-by: darylm503 Reviewed-by: geekboy15a Reviewed-by: jljusten Reviewed-by: lpleahy Reviewed-by: leegrosenbaum git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12957 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
|
||||
PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
|
||||
|
||||
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
||||
|
||||
###################################################################################################
|
||||
#
|
||||
# Components Section - list of the modules and components that will be processed by compilation
|
||||
@@ -100,37 +102,18 @@
|
||||
#### After extracting the Python distribution, un-comment the following line to build Python.
|
||||
# AppPkg/Applications/Python/PythonCore.inf
|
||||
|
||||
##########
|
||||
# Socket Applications - LibC based
|
||||
##########
|
||||
# AppPkg/Applications/Sockets/DataSink/DataSink.inf
|
||||
# AppPkg/Applications/Sockets/DataSource/DataSource.inf
|
||||
# SocketPkg/Application/FtpNew/FTP.inf
|
||||
# AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
|
||||
# AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
|
||||
# AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
|
||||
# AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
|
||||
# AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
|
||||
# AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
|
||||
# AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
|
||||
# AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
|
||||
# SocketPkg/Application/route/route.inf
|
||||
# AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
|
||||
# AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
|
||||
# AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
|
||||
# AppPkg/Applications/Sockets/WebServer/WebServer.inf {
|
||||
# <PcdsFixedAtBuild>
|
||||
# gStdLibTokenSpaceGuid.WebServer_HttpPort|80
|
||||
# }
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Specify whether we are running in an emulation environment, or not.
|
||||
# Define EMULATE if we are, else keep the DEFINE commented out.
|
||||
#
|
||||
# DEFINE EMULATE = 1
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Include Boilerplate text required for building with the Standard Libraries.
|
||||
#
|
||||
##############################################################################
|
||||
# Specify whether we are running in an emulation environment, or not.
|
||||
# Define EMULATE if we are.
|
||||
#
|
||||
#DEFINE EMULATE = 1
|
||||
|
||||
!include StdLib/StdLib.inc
|
||||
!include AppPkg/Applications/Sockets/Sockets.inc
|
||||
|
Reference in New Issue
Block a user