From: "Jayaprakash, N" <n.jayaprakash@intel.com>
To: devel@edk2.groups.io
Cc: Jayaprakash N <n.jayaprakash@intel.com>,
Rebecca Cran <rebecca@bsdio.com>,
Michael D Kinney <michael.d.kinney@intel.com>
Subject: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module
Date: Fri, 1 Sep 2023 21:48:02 +0530 [thread overview]
Message-ID: <20230901161802.1362-2-n.jayaprakash@intel.com> (raw)
In-Reply-To: <20230901161802.1362-1-n.jayaprakash@intel.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4548
This change fixes the insufficient documentation instructions
to compile socket module as built in module into Python interpreter
Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jayaprakash N <n.jayaprakash@intel.com>
Signed-off-by: Jayaprakash N <n.jayaprakash@intel.com>
---
.../Python/Python-3.6.8/Py368ReadMe.txt | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
index eae56b4..2b27c92 100644
--- a/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
+++ b/AppPkg/Applications/Python/Python-3.6.8/Py368ReadMe.txt
@@ -129,13 +129,14 @@ system as follows:
6. Example: Enabling socket support
===================================
- 1. enable {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c
- 2. enable LibraryClasses BsdSocketLib and EfiSocketLib in Python368.inf
- 3. Build Python interpreter application using below command
+ 1. Uncomment the statement // {"_socket", init_socket}, in PyMod-3.6.8\Modules\config.c
+ 2. Uncomment BsdSocketLib and EfiSocketLib LibraryClasses in Python368.inf
+ 3. Uncomment the statement #Modules/socketmodule.c in Python368.inf
+ 4. Build Python interpreter application using below command
build -a X64 -p AppPkg\AppPkg.dsc
- 6. copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
- target system. Replace "RELEASE_VS2017", in the source path, with
- values appropriate for your tool chain.
+ 5. Copy Build\AppPkg\RELEASE_VS2017\X64\Python.efi to \Efi\Tools on your
+ target system. Replace "RELEASE_VS2017", in the source path, with
+ values appropriate for your tool chain.
7. Running Python
=================
--
2.40.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108230): https://edk2.groups.io/g/devel/message/108230
Mute This Topic: https://groups.io/mt/101098540/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2023-09-01 16:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 16:18 [edk2-devel] [edk2-libc Patch 0/1] AppPkg - fix python socket module compilation instructions Jayaprakash, N
2023-09-01 16:18 ` Jayaprakash, N [this message]
[not found] ` <1780D2AE8858D17B.16908@groups.io>
2023-09-01 16:29 ` [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module Jayaprakash, N
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230901161802.1362-2-n.jayaprakash@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox