From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp03.apple.com (ma1-aaemail-dr-lapp03.apple.com [17.171.2.72]) by mx.groups.io with SMTP id smtpd.web11.21344.1590355239782485996 for ; Sun, 24 May 2020 14:20:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=srah/xGI; spf=pass (domain: apple.com, ip: 17.171.2.72, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp03.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp03.apple.com (8.16.0.42/8.16.0.42) with SMTP id 04OLBaPq008499 for ; Sun, 24 May 2020 14:20:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : to : cc : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=20180706; bh=zZjR8zz+njAHy1mwlx1Szdz2SByHrXm/JgrY4/Vk+zg=; b=srah/xGItcTCsb6I/TU1+w4BLYhWwoV3DxizcaxcjvCFJpsIU7mADCgx/zS9bQ617XCR 1ykjSjz2ZqOhnxd9eQmlljweUewbErzCWcZAtJ1qhdgTMNWTPz/O9HKN1r7vUAbMfGAo oeHqlm6VMB5hfvalOt9zMWKb9l3VqD3zsWv8STRUJ4beN/ccFfE3muCjvVXwu4dvQ2pf 0VBzj3BsBtapXHUCFzMO7PmIBBIK87XuLTUw2fOw2JkNUQarx9yID+k6MhbIXWZCT/rN rbJEm+qJCDg7YhTmR6fJ/WsfHbsZDZR+kdeVwYXCr3LliDBdCVb/10s+Ow5G8I0hvyBu Bg== Received: from rn-mailsvcp-mta-lapp01.rno.apple.com (rn-mailsvcp-mta-lapp01.rno.apple.com [10.225.203.149]) by ma1-aaemail-dr-lapp03.apple.com with ESMTP id 3172tubtd2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 24 May 2020 14:20:38 -0700 Received: from rn-mailsvcp-relay-lapp04.rno.apple.com (rn-mailsvcp-relay-lapp04.rno.apple.com [17.179.253.13]) by rn-mailsvcp-mta-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPS id <0QAU00V6STYDN830@rn-mailsvcp-mta-lapp01.rno.apple.com> for devel@edk2.groups.io; Sun, 24 May 2020 14:20:37 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-relay-lapp04.rno.apple.com by rn-mailsvcp-relay-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) id <0QAU00E00TRDPY00@rn-mailsvcp-relay-lapp04.rno.apple.com>; Sun, 24 May 2020 14:20:37 -0700 (PDT) X-Va-A: X-Va-T-CD: 678bf7de5df0d9ff994f556fd1b44182 X-Va-E-CD: 8ea40168afd5daf3fcb4ec483c82fd47 X-Va-R-CD: 9840e4026a337d0c5bda8bcc9f8d6550 X-Va-CD: 0 X-Va-ID: a7acf48b-033f-4773-8c68-88d65fcb7a66 X-V-A: X-V-T-CD: 678bf7de5df0d9ff994f556fd1b44182 X-V-E-CD: 8ea40168afd5daf3fcb4ec483c82fd47 X-V-R-CD: 9840e4026a337d0c5bda8bcc9f8d6550 X-V-CD: 0 X-V-ID: b6bad14b-230f-4cd3-bcbf-82a9c373cdf8 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.676 definitions=2020-05-24_07:2020-05-22,2020-05-24 signatures=0 Received: from rn-mailsvcp-relay-lapp02.rno.apple.com (unknown [17.235.51.71]) by rn-mailsvcp-relay-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTP id <0QAU00NJ9TYDAE00@rn-mailsvcp-relay-lapp04.rno.apple.com>; Sun, 24 May 2020 14:20:37 -0700 (PDT) From: "Andrew Fish" To: devel@edk2.groups.io Cc: Andrew Fish Subject: [PATCH 0/3] Add PE/COFF resource sections support for XCODE Date: Sun, 24 May 2020 14:20:08 -0700 Message-id: X-Mailer: git-send-email 2.24.1 (Apple Git-126) MIME-version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.676 definitions=2020-05-24_07:2020-05-22,2020-05-24 signatures=0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit This patch series adds PE/COFF resource section support for XCODE. It should be possible to use the build_rule.template and GenFw.c changes on any toolchain. RVCT also has this issue so could be fixed. I test this on XCODE on the inject an extra section, and append to last section path. Andrew Fish (3): BaseTools/GenFv: Add PE/COFF resource sections injection to GenFw BaseTools: Add PE/COFF resource sections support for XCODE OvmfwPkg: Don't exclude XCODE Modules BaseTools/Conf/build_rule.template | 15 +- BaseTools/Source/C/GenFw/GenFw.c | 370 +++++++++++++++++++++++++++++ OvmfPkg/OvmfPkgIa32.dsc | 3 +- OvmfPkg/OvmfPkgIa32.fdf | 2 - OvmfPkg/OvmfPkgIa32X64.dsc | 4 +- OvmfPkg/OvmfPkgIa32X64.fdf | 2 - OvmfPkg/OvmfPkgX64.dsc | 3 +- OvmfPkg/OvmfPkgX64.fdf | 2 - OvmfPkg/OvmfXen.dsc | 3 +- OvmfPkg/OvmfXen.fdf | 2 - 10 files changed, 386 insertions(+), 20 deletions(-) -- 2.24.1 (Apple Git-126)