diff mbox series

[edk2] ArmPkg: remove redundant _ARM_PLATFORM_FLAGS overrides

Message ID 20181215083308.15038-1-ard.biesheuvel@linaro.org
State Accepted
Commit 0a538ddab43f161bca98a79f4843ff38c4711aa4
Headers show
Series [edk2] ArmPkg: remove redundant _ARM_PLATFORM_FLAGS overrides | expand

Commit Message

Ard Biesheuvel Dec. 15, 2018, 8:33 a.m. UTC
Our default is already armv7-a, so no need to rewrite the PLATFORM_FLAGS
for that. Also, setting -mfpu=neon is not entirely inappropriate, since
NEON is not mandatory under v7.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 ArmPkg/ArmPkg.dsc | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Leif Lindholm Dec. 15, 2018, 11:03 a.m. UTC | #1
On Sat, Dec 15, 2018 at 09:33:08AM +0100, Ard Biesheuvel wrote:
> Our default is already armv7-a, so no need to rewrite the PLATFORM_FLAGS

> for that. Also, setting -mfpu=neon is not entirely inappropriate, since

> NEON is not mandatory under v7.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  ArmPkg/ArmPkg.dsc | 3 ---

>  1 file changed, 3 deletions(-)

> 

> diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc

> index 495f13d2bbec..5d83c18b143e 100644

> --- a/ArmPkg/ArmPkg.dsc

> +++ b/ArmPkg/ArmPkg.dsc

> @@ -31,9 +31,6 @@

>    SKUID_IDENTIFIER               = DEFAULT

>  

>  [BuildOptions]

> -  XCODE:*_*_ARM_PLATFORM_FLAGS  == -arch armv7

> -  GCC:*_*_ARM_PLATFORM_FLAGS    == -march=armv7-a -mfpu=neon

> -

>    RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG

>    *_*_*_CC_FLAGS  = -DDISABLE_NEW_DEPRECATED_INTERFACES

>  

> -- 

> 2.17.1

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel Dec. 15, 2018, 6:16 p.m. UTC | #2
On Sat, 15 Dec 2018 at 12:03, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>

> On Sat, Dec 15, 2018 at 09:33:08AM +0100, Ard Biesheuvel wrote:

> > Our default is already armv7-a, so no need to rewrite the PLATFORM_FLAGS

> > for that. Also, setting -mfpu=neon is not entirely inappropriate, since

> > NEON is not mandatory under v7.

> >

> > Contributed-under: TianoCore Contribution Agreement 1.1

> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

>

> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

>


Thanks

Pushed as 48e890457b06..0a538ddab43f

> > ---

> >  ArmPkg/ArmPkg.dsc | 3 ---

> >  1 file changed, 3 deletions(-)

> >

> > diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc

> > index 495f13d2bbec..5d83c18b143e 100644

> > --- a/ArmPkg/ArmPkg.dsc

> > +++ b/ArmPkg/ArmPkg.dsc

> > @@ -31,9 +31,6 @@

> >    SKUID_IDENTIFIER               = DEFAULT

> >

> >  [BuildOptions]

> > -  XCODE:*_*_ARM_PLATFORM_FLAGS  == -arch armv7

> > -  GCC:*_*_ARM_PLATFORM_FLAGS    == -march=armv7-a -mfpu=neon

> > -

> >    RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG

> >    *_*_*_CC_FLAGS  = -DDISABLE_NEW_DEPRECATED_INTERFACES

> >

> > --

> > 2.17.1

> >

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc
index 495f13d2bbec..5d83c18b143e 100644
--- a/ArmPkg/ArmPkg.dsc
+++ b/ArmPkg/ArmPkg.dsc
@@ -31,9 +31,6 @@ 
   SKUID_IDENTIFIER               = DEFAULT
 
 [BuildOptions]
-  XCODE:*_*_ARM_PLATFORM_FLAGS  == -arch armv7
-  GCC:*_*_ARM_PLATFORM_FLAGS    == -march=armv7-a -mfpu=neon
-
   RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
   *_*_*_CC_FLAGS  = -DDISABLE_NEW_DEPRECATED_INTERFACES