From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D1880941AB8 for ; Fri, 1 Sep 2023 16:18:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=d/dlas29mTS6VZtrjBj0j/r6pCJN+UNDaFLRHEaU/Hg=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1693585107; v=1; b=W5htd3m0kR6CnBt+KMZKyiLBf2OoTnoThIENuXxHQG54IiyOSjZiWAVGYZu7Jds27ScsLuyi pAmNFPk/fb8HoEcK7zUAVKgJNsCQK541801mj26ZAWTZykMq4hJAvC5wgg/FMlfH1s2KHoeRRj3 PrTCPbawwIle3q6ag2TxF/Ug= X-Received: by 127.0.0.2 with SMTP id ujrUYY7687511xGyqfLty0kB; Fri, 01 Sep 2023 09:18:27 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.72.1693585103045602274 for ; Fri, 01 Sep 2023 09:18:26 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10819"; a="378979322" X-IronPort-AV: E=Sophos;i="6.02,220,1688454000"; d="scan'208";a="378979322" X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2023 09:18:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10819"; a="743153575" X-IronPort-AV: E=Sophos;i="6.02,220,1688454000"; d="scan'208";a="743153575" X-Received: from njayapra-mobl.gar.corp.intel.com ([10.213.83.150]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2023 09:18:16 -0700 From: "Jayaprakash, N" To: devel@edk2.groups.io Cc: Jayaprakash N , Rebecca Cran , Michael D Kinney 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 Message-Id: <20230901161802.1362-2-n.jayaprakash@intel.com> In-Reply-To: <20230901161802.1362-1-n.jayaprakash@intel.com> References: <20230901161802.1362-1-n.jayaprakash@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,n.jayaprakash@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: iWTRsU7NLemw9jD7OGl0kMYBx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=W5htd3m0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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 Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../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] -=-=-=-=-=-=-=-=-=-=-=-