[edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253

Sami Mujawar via Groups.Io sami.mujawar=arm.com at groups.io
Mon Nov 25 11:10:28 UTC 2019


Apologies, I missed #28 'Pick up the tags that you got on the list', from Laszlo's guide.

This patch has also received a Reviewed-by from:
    Reviewed-by: jiewen.yao at intel.com
    Reviewed-by: Laszlo Ersek <lersek at redhat.com>

Regards,

Sami Mujawar

-----Original Message-----
From: Sami Mujawar <sami.mujawar at arm.com> 
Sent: 25 November 2019 09:06 AM
To: devel at edk2.groups.io
Cc: Sami Mujawar <Sami.Mujawar at arm.com>; Achin Gupta <Achin.Gupta at arm.com>; jiewen.yao at intel.com; Supreeth Venkatesh <Supreeth.Venkatesh at arm.com>; lersek at redhat.com; Matteo Carlini <Matteo.Carlini at arm.com>; Laura Moretta <Laura.Moretta at arm.com>; nd <nd at arm.com>
Subject: [PATCH v2 1/1] StandaloneMmPkg: Fix build failure - Bug 2253

The StandaloneMmPkg currently has code for supporting Arm architecture only. Support for X64 and IA32 is currently under development on a separate branch.

However, StandaloneMmPkg/StandaloneMmPkg.dsc is indicating that support for X64 and IA32 is available which is causing build failures.
This has been reported in
https://bugzilla.tianocore.org/show_bug.cgi?id=2253

This issue has been discussed earlier on the list:
(1) https://edk2.groups.io/g/devel/message/47276

(2) https://edk2.groups.io/g/devel/message/47283

In light of the above, this patch removes IA32 and X64 from SUPPORTED_ARCHITECTURES, until support for the respective architectures is merged into StandaloneMmPkg.

Cc: Achin Gupta <achin.gupta at arm.com>
Cc: Jiewen Yao <jiewen.yao at intel.com>
Cc: Supreeth Venkatesh <supreeth.venkatesh at arm.com>
Cc: Laszlo Ersek <lersek at redhat.com>
Signed-off-by: Sami Mujawar <sami.mujawar at arm.com>

---
The changes can be seen at:
https://github.com/samimujawar/edk2/tree/697_stmm_disable_unsupported_arch_v1

Notes:
    v2:
      - Fixed patch check failure in commit message,                [SAMI]
          changed 'CC' to 'Cc'. No code change.            
    v1:
      - Fix for Bug 2253                                            [SAMI]
        (https://bugzilla.tianocore.org/show_bug.cgi?id=2253)

 StandaloneMmPkg/StandaloneMmPkg.dsc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/StandaloneMmPkg.dsc
index 8a68d397469bdb83586bfeaebedcd52fd528b20f..f9546e182e25fbcd253de0986a1bb554dae1e975 100644
--- a/StandaloneMmPkg/StandaloneMmPkg.dsc
+++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
@@ -2,7 +2,7 @@
 # Standalone MM Platform.
 #
 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
+# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -19,7 +19,7 @@ [Defines]
   PLATFORM_VERSION               = 1.0
   DSC_SPECIFICATION              = 0x00010011
   OUTPUT_DIRECTORY               = Build/StandaloneMm
-  SUPPORTED_ARCHITECTURES        = IA32|X64|AARCH64
+  SUPPORTED_ARCHITECTURES        = AARCH64
   BUILD_TARGETS                  = DEBUG|RELEASE
   SKUID_IDENTIFIER               = DEFAULT
 
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51231): https://edk2.groups.io/g/devel/message/51231
Mute This Topic: https://groups.io/mt/61916708/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list