[edk2] ArmPkg: fix StandaloneMmMmuLib subdirectory case

Message ID 20181127122636.12603-1-leif.lindholm@linaro.org
State New
Headers show
Series
  • [edk2] ArmPkg: fix StandaloneMmMmuLib subdirectory case
Related show

Commit Message

Leif Lindholm Nov. 27, 2018, 12:26 p.m.
While this isn't the only Aarch64 directory in the tree, let's
keep from adding more of them.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

---
 ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf             | 2 +-
 .../StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c     | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename ArmPkg/Library/StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c (100%)

-- 
2.11.0

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

Comments

Ard Biesheuvel Nov. 27, 2018, 12:27 p.m. | #1
On Tue, 27 Nov 2018 at 13:26, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>

> While this isn't the only Aarch64 directory in the tree, let's

> keep from adding more of them.

>

> Contributed-under: TianoCore Contribution Agreement 1.1

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


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


> ---

>  ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf             | 2 +-

>  .../StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c     | 0

>  2 files changed, 1 insertion(+), 1 deletion(-)

>  rename ArmPkg/Library/StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c (100%)

>

> diff --git a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> index d589b23603..7219b59e6f 100644

> --- a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> +++ b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> @@ -22,7 +22,7 @@ [Defines]

>    PI_SPECIFICATION_VERSION       = 0x00010032

>

>  [Sources.AARCH64]

> -  Aarch64/ArmMmuStandaloneMmLib.c

> +  AArch64/ArmMmuStandaloneMmLib.c

>

>  [Packages]

>    ArmPkg/ArmPkg.dec

> diff --git a/ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c

> similarity index 100%

> rename from ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c

> rename to ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c

> --

> 2.11.0

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Leif Lindholm Nov. 27, 2018, 1:26 p.m. | #2
On Tue, Nov 27, 2018 at 01:27:16PM +0100, Ard Biesheuvel wrote:
> On Tue, 27 Nov 2018 at 13:26, Leif Lindholm <leif.lindholm@linaro.org> wrote:

> >

> > While this isn't the only Aarch64 directory in the tree, let's

> > keep from adding more of them.

> >

> > Contributed-under: TianoCore Contribution Agreement 1.1

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

> 

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


Thanks - pushed as 18a700945f.

> > ---

> >  ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf             | 2 +-

> >  .../StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c     | 0

> >  2 files changed, 1 insertion(+), 1 deletion(-)

> >  rename ArmPkg/Library/StandaloneMmMmuLib/{Aarch64 => AArch64}/ArmMmuStandaloneMmLib.c (100%)

> >

> > diff --git a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> > index d589b23603..7219b59e6f 100644

> > --- a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> > +++ b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf

> > @@ -22,7 +22,7 @@ [Defines]

> >    PI_SPECIFICATION_VERSION       = 0x00010032

> >

> >  [Sources.AARCH64]

> > -  Aarch64/ArmMmuStandaloneMmLib.c

> > +  AArch64/ArmMmuStandaloneMmLib.c

> >

> >  [Packages]

> >    ArmPkg/ArmPkg.dec

> > diff --git a/ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c

> > similarity index 100%

> > rename from ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c

> > rename to ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c

> > --

> > 2.11.0

> >

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

Patch

diff --git a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
index d589b23603..7219b59e6f 100644
--- a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
+++ b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
@@ -22,7 +22,7 @@  [Defines]
   PI_SPECIFICATION_VERSION       = 0x00010032
 
 [Sources.AARCH64]
-  Aarch64/ArmMmuStandaloneMmLib.c
+  AArch64/ArmMmuStandaloneMmLib.c
 
 [Packages]
   ArmPkg/ArmPkg.dec
diff --git a/ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c b/ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c
similarity index 100%
rename from ArmPkg/Library/StandaloneMmMmuLib/Aarch64/ArmMmuStandaloneMmLib.c
rename to ArmPkg/Library/StandaloneMmMmuLib/AArch64/ArmMmuStandaloneMmLib.c