From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.16454.1672934501718596590 for ; Thu, 05 Jan 2023 08:01:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YpwDxl2r; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4B11EB81B35; Thu, 5 Jan 2023 16:01:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D25DAC433D2; Thu, 5 Jan 2023 16:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672934498; bh=KFUGWSnaII4qRYG/lM9VvkY2SDG/5ThtyKYT7ZpXUXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YpwDxl2rqB6W6xe0SEvpFoV/DRMnnS4cVW5DgJNz8UniXhOcWyHRde6rkDM6B+n6I utmkIfbEcei2zjWQP+vwvr09vLg7DmBQoXr3UV+Ky6IApNwmRWv/BUzeMZ15qKN6AM nUNDOBjPraWByk7V/YwjJu6HaRLxcOKO0TKEfbwviz8eiiqcOcN/ntccHaZu3CDYxd Yr14vBztZvRHEzFK+vGR4BE/aS//MMEwGT4dbBwNsgRrZt1beXL/MSchsUh6yfwfnn VoWaw6Nt7DKeQ1ndafLXByf044Mjvdg0oKiqKqq/9DeIHLy9fHywjOEexKBgbaIC3H JXdqgwS69bBMQ== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: quic_llindhol@quicinc.com, rebecca@quicinc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 2/2] Silicon/, Platform/: Get rid of redundant toolchains flags Date: Thu, 5 Jan 2023 17:01:30 +0100 Message-Id: <20230105160130.1423542-3-ardb@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105160130.1423542-1-ardb@kernel.org> References: <20230105160130.1423542-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The ARCHCC and ARCHASM flags are redundant, given that ARMv7-A with Thumb2 codegen has been the default for a long time, for all supported toolchains. So let's drop these definitions: this allows us to retire ARCHCC and ARCHASM entirely from EDK2. Signed-off-by: Ard Biesheuvel --- Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc | 1 - Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc | 3 --- Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc | 7 ------- 3 files changed, 11 deletions(-) diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc b/Platform/A= RM/VExpressPkg/ArmVExpress-CTA15-A7.dsc index 3be9822975e5..5b0a929b6b25 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc @@ -64,7 +64,6 @@ [LibraryClasses.ARM] =0D [BuildOptions]=0D !ifdef ARM_BIGLITTLE_TC2=0D - *_*_ARM_ARCHCC_FLAGS =3D -DARM_BIGLITTLE_TC2=3D1=0D *_*_ARM_PP_FLAGS =3D -DARM_BIGLITTLE_TC2=3D1=0D !endif=0D =0D diff --git a/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc b/Platf= orm/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc index 0f5e356f0d5d..d44f4771c622 100644 --- a/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc +++ b/Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc @@ -207,9 +207,6 @@ [LibraryClasses.ARM] NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf=0D =0D [BuildOptions]=0D - XCODE:*_*_ARM_PLATFORM_FLAGS =3D=3D -arch armv7=0D - GCC:*_*_ARM_PLATFORM_FLAGS =3D=3D -march=3Darmv7-a=0D -=0D *_*_*_CC_FLAGS =3D -DDISABLE_NEW_DEPRECATED_INTERFACES=0D =0D [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]=0D diff --git a/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc b/Silicon= /TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc index 182a4198ad5c..92c2f6a2e607 100644 --- a/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc +++ b/Silicon/TexasInstruments/Omap35xxPkg/Omap35xxPkg.dsc @@ -78,13 +78,6 @@ [LibraryClasses.ARM] NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf=0D =0D [BuildOptions]=0D - XCODE:*_*_ARM_ARCHCC_FLAGS =3D=3D -arch armv7 -march=3Darmv7=0D - XCODE:*_*_ARM_ARCHASM_FLAGS =3D=3D -arch armv7=0D - XCODE:*_*_ARM_ARCHDLINK_FLAGS =3D=3D -arch armv7=0D -=0D - GCC:*_*_ARM_ARCHCC_FLAGS =3D=3D -march=3Darmv7-a -mthumb=0D - GCC:*_*_ARM_ARCHASM_FLAGS =3D=3D -march=3Darmv7-a=0D -=0D *_*_*_CC_FLAGS =3D -DDISABLE_NEW_DEPRECATED_INTERFACES=0D =0D ##########################################################################= ######=0D --=20 2.39.0