From nobody Sat May 11 21:46:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+111771+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111771+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1701133443; cv=none; d=zohomail.com; s=zohoarc; b=QepZ8ZYv4dIjCcNwL427DrSlDZ8RkFFn4o5SjFVsyAJBpAjVPwvtQyuQ40C81Ty3XZFkG3LPNIDAbIS3W5rtp4wQxpacjJQZW0fNTPTtnwt22fyqDYowk2mcao6VGsC0d/x6ePjjg3BsLagtPJQUw6ul9v4a+Ibh8kJtjawjUTI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701133443; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=M3byUCUCHE8J0soVn3vphg23Hio7iU3Vtb53So/sGk4=; b=SkB3hekvapAkDVAM4I7GP5tjUgOZ8yYpFwVwLnILxw5brRLvZrRKDhPFMOfIPAoO7zDAFYAX3OzMyswvWE5OjFrhFLvo0KRXnxNkrJR0/mek+vz7KXxl+uTDNJtXREjO7fobarclDI3rbfldGhFj1vDX6ZRDK+0lzVWmIwTrJ9o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111771+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1701133443091903.2544715951954; Mon, 27 Nov 2023 17:04:03 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=Jp26+zsP6qauYMdkqV0AvAF2+9kygcVt6OcFOKJl6ms=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id: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=1701133442; v=1; b=nbq/kcey2u741Ddy4O5Px2ovAAHcA+sciQ7vN+S6PEsHg5Y2iQl78e6K6Vs1Vgjn5yL6FF4M ZLpAutrHo1/iAMS3aN/yvVzVWdPmqhjCAye19ZhVIEd4mv6AJNvejP7BVbbaILIZZd9x+bqPHmJ Vju8N6unII+wO4DTOT5mTEpk= X-Received: by 127.0.0.2 with SMTP id VUlXYY1788612xp7w6Ts3zln; Mon, 27 Nov 2023 17:04:02 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.5492.1701133441440565922 for ; Mon, 27 Nov 2023 17:04:02 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="383208387" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="383208387" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 17:04:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="859243507" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="859243507" X-Received: from nldesimo-desk.amr.corp.intel.com ([10.241.240.67]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 17:03:59 -0800 From: "Nate DeSimone" To: devel@edk2.groups.io Cc: Chasel Chiu , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg: Add edk2-platforms/Features to PACKAGES_PATH Date: Mon, 27 Nov 2023 17:03:36 -0800 Message-Id: <20231128010339.1954-1-nathaniel.l.desimone@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,nathaniel.l.desimone@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qMYMMSkfw4r2IwIxHHCfa7jYx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1701133445411000008 Content-Type: text/plain; charset="utf-8" Cc: Chasel Chiu Cc: Liming Gao Cc: Eric Dong Signed-off-by: Nate DeSimone Reviewed-by: Chasel Chiu --- Platform/Intel/build.cfg | 5 +++-- Platform/Intel/build_bios.py | 11 +++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Platform/Intel/build.cfg b/Platform/Intel/build.cfg index 2ff536bb3e..6ab2ced1a5 100644 --- a/Platform/Intel/build.cfg +++ b/Platform/Intel/build.cfg @@ -1,7 +1,7 @@ # @ build.cfg # This is the main/default build configuration file # -# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2023, Intel Corporation. All rights reserved.
# Copyright (c) 2021 - 2022, American Megatrends International LLC.
# SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -13,7 +13,8 @@ WORKSPACE_FSP_BIN =3D FSP EDK_TOOLS_BIN =3D edk2-BaseTools-win32 EDK_BASETOOLS =3D BaseTools WORKSPACE_DRIVERS =3D edk2-platforms/Drivers -WORKSPACE_FEATURES =3D edk2-platforms/Features/Intel +WORKSPACE_FEATURES =3D edk2-platforms/Features +WORKSPACE_FEATURES_INTEL =3D edk2-platforms/Features/Intel WORKSPACE_PLATFORM =3D edk2-platforms/Platform/Intel WORKSPACE_SILICON =3D edk2-platforms/Silicon/Intel WORKSPACE_PLATFORM_BIN =3D diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py index 43a241c837..c79a653f4d 100755 --- a/Platform/Intel/build_bios.py +++ b/Platform/Intel/build_bios.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3 # # @ build_bios.py # Builds BIOS using configuration files and dynamically @@ -109,6 +109,8 @@ def pre_build(build_config, build_type=3D"DEBUG", silen= t=3DFalse, toolchain=3DNone): config["WORKSPACE_SILICON"]) config["WORKSPACE_FEATURES"] =3D os.path.join(config["WORKSPACE"], config["WORKSPACE_FEATURES"= ]) + config["WORKSPACE_FEATURES_INTEL"] =3D os.path.join(config["WORKSPACE"= ], + config["WORKSPACE_FEATURES_INT= EL"]) config["WORKSPACE_DRIVERS"] =3D os.path.join(config["WORKSPACE"], config["WORKSPACE_DRIVERS"]) config["WORKSPACE_PLATFORM_BIN"] =3D \ @@ -123,9 +125,10 @@ def pre_build(build_config, build_type=3D"DEBUG", sile= nt=3DFalse, toolchain=3DNone): config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_SILICON"] config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_SILICON_BI= N"] config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_FEATURES"] - # add all feature domains in WORKSPACE_FEATURES to package path - for filename in os.listdir(config["WORKSPACE_FEATURES"]): - filepath =3D os.path.join(config["WORKSPACE_FEATURES"], filename) + config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_FEATURES_I= NTEL"] + # add all feature domains in WORKSPACE_FEATURES_INTEL to package path + for filename in os.listdir(config["WORKSPACE_FEATURES_INTEL"]): + filepath =3D os.path.join(config["WORKSPACE_FEATURES_INTEL"], file= name) # feature domains folder does not contain dec file if os.path.isdir(filepath) and \ not glob.glob(os.path.join(filepath, "*.dec")): --=20 2.39.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111771): https://edk2.groups.io/g/devel/message/111771 Mute This Topic: https://groups.io/mt/102842749/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-