From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web12.9878.1622619979686731258 for ; Wed, 02 Jun 2021 00:46:22 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: ray.ni@intel.com) IronPort-SDR: mS7mhidsCfzK+c774p7Rdzeum3Ri/c/oaFbwbTS26EdAa9l8VFd1l1hX5xelxnWxm7YlLM6B3F Qb9l53vCImcQ== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="183409084" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="183409084" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 00:46:22 -0700 IronPort-SDR: wUMoP/txeJmYQgocruXpMcbS/6gSA0QLfjy+K/lWMexzIP5jz914tJU1FcC1YrAZYjh9YMNsqM JAyszGqAPr+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479607242" Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2021 00:46:21 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Liming Gao , Feng Bob C Subject: [PATCH 3/6] BaseTools: Update build_rule to skip CLANG resource section generation Date: Wed, 2 Jun 2021 15:45:51 +0800 Message-Id: <20210602074554.244-4-ray.ni@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20210602074554.244-1-ray.ni@intel.com> References: <20210602074554.244-1-ray.ni@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Liming Gao LLVM/CLANG doesn't support resource section generation when ELF image gener= ated. Signed-off-by: Liming Gao Reviewed-by: Feng Bob C # Conflicts: # BaseTools/Conf/build_rule.template --- BaseTools/Conf/build_rule.template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule= .template index 1395792cd6..3add1029f2 100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -669,6 +669,5 @@ =0D "$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUI= D) --hiibinpackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)=0D "$(RC)" $(RC_FLAGS) $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc ${dst}=0D -=0D - =0D - GenFw -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --= hiibinpackage $(HII_BINARY_PACKAGES)=0D + =0D + "$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUI= D) --hiibinpackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)=0D --=20 2.31.1.windows.1