From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com []) by mx.groups.io with SMTP id smtpd.web11.44450.1585548190763873090 for ; Sun, 29 Mar 2020 23:03:12 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: heng.luo@intel.com) IronPort-SDR: KUiKESdM7uGM1fQGAE6dzXSh9amerxIj+OzWlOFEIQwQF738dkk5ARZX/N8K0ymFiHvhkeOydK ZVD8u4cKpsOg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2020 23:03:12 -0700 IronPort-SDR: Q+8N9Hdvi0gvqMLbpSqOhLlGQZOLnCPV3YZXOGBcxAKk4l+rNdvv25zH0hsvx2tRTghmiesaYR OeI3sAXZpzXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,323,1580803200"; d="scan'208";a="421824498" Received: from unknown (HELO hengluo-dev.ccr.corp.intel.com) ([10.239.153.154]) by orsmga005.jf.intel.com with ESMTP; 29 Mar 2020 23:03:10 -0700 From: "Heng Luo" To: devel@edk2.groups.io Cc: Dandan Bi , Liming Gao , Eric Dong , Ray Ni Subject: [PATCH 1/3] Platform/Intel: Add all pathes of feature domains to package path Date: Mon, 30 Mar 2020 14:03:04 +0800 Message-Id: <20200330060306.1695-2-heng.luo@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 In-Reply-To: <20200330060306.1695-1-heng.luo@intel.com> References: <20200330060306.1695-1-heng.luo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2644 Add all pathes of feature domains to package path in build_bios.py. Cc: Dandan Bi Cc: Liming Gao Cc: Eric Dong Cc: Ray Ni Signed-off-by: Heng Luo --- Platform/Intel/build_bios.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py index 1ef35aca0a..b9ad980510 100644 --- a/Platform/Intel/build_bios.py +++ b/Platform/Intel/build_bios.py @@ -3,7 +3,7 @@ # Builds BIOS using configuration files and dynamically=0D # imported functions from board directory=0D #=0D -# Copyright (c) 2019, Intel Corporation. All rights reserved.
=0D +# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D =0D @@ -120,6 +120,11 @@ def pre_build(build_config, build_type=3D"DEBUG", sile= nt=3DFalse, toolchain=3DNone): config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_SILICON"]= =0D config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_SILICON_BI= N"]=0D config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_FEATURES"]= =0D + # add all feature domains in WORKSPACE_FEATURES to package path=0D + for filename in os.listdir(config["WORKSPACE_FEATURES"]):=0D + filepath =3D os.path.join(config["WORKSPACE_FEATURES"], filename)= =0D + if os.path.isdir(filepath):=0D + config["PACKAGES_PATH"] +=3D os.pathsep + filepath=0D config["PACKAGES_PATH"] +=3D os.pathsep + config["WORKSPACE_DRIVERS"]= =0D config["PACKAGES_PATH"] +=3D os.pathsep + \=0D os.path.join(config["WORKSPACE"], "FSP")=0D --=20 2.24.0.windows.2