diff mbox

[edk2] Actually plug in BaseTools build on AArch64

Message ID 1407858881-14979-1-git-send-email-leif.lindholm@linaro.org
State New
Headers show

Commit Message

Leif Lindholm Aug. 12, 2014, 3:54 p.m. UTC
Support for building BaseTools on AArch64 is available in the tree, but
not currently "plugged in". This patch adds the required snippet.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 Source/C/Makefiles/header.makefile |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Olivier Martin Aug. 13, 2014, 10:30 a.m. UTC | #1
Reviewed-By: Olivier Martin <Olivier.martin@arm.com>

> -----Original Message-----
> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]
> Sent: 12 August 2014 16:55
> To: edk2-devel@lists.sourceforge.net
> Subject: [edk2] [PATCH] Actually plug in BaseTools build on AArch64
> 
> Support for building BaseTools on AArch64 is available in the tree, but
> not currently "plugged in". This patch adds the required snippet.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
>  Source/C/Makefiles/header.makefile |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Source/C/Makefiles/header.makefile
> b/Source/C/Makefiles/header.makefile
> index 6895f98..7939db0 100644
> --- a/Source/C/Makefiles/header.makefile
> +++ b/Source/C/Makefiles/header.makefile
> @@ -39,6 +39,10 @@ ifeq ($(ARCH), ARM)
>  ARCH_INCLUDE = -I $(MAKEROOT)/Include/Arm/
>  endif
> 
> +ifeq ($(ARCH), AARCH64)
> +ARCH_INCLUDE = -I $(MAKEROOT)/Include/AArch64/
> +endif
> +
>  INCLUDE = $(TOOL_INCLUDE) -I $(MAKEROOT) -I $(MAKEROOT)/Include/Common
> -I $(MAKEROOT)/Include/ -I $(MAKEROOT)/Include/IndustryStandard -I
> $(MAKEROOT)/Common/ -I .. -I . $(ARCH_INCLUDE)
>  CPPFLAGS = $(INCLUDE)
>  CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fno-merge-constants -
> nostdlib -Wall -Werror -c -g
> --
> 1.7.10.4
> 
> 
> -----------------------------------------------------------------------
> -------
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel





------------------------------------------------------------------------------
diff mbox

Patch

diff --git a/Source/C/Makefiles/header.makefile b/Source/C/Makefiles/header.makefile
index 6895f98..7939db0 100644
--- a/Source/C/Makefiles/header.makefile
+++ b/Source/C/Makefiles/header.makefile
@@ -39,6 +39,10 @@  ifeq ($(ARCH), ARM)
 ARCH_INCLUDE = -I $(MAKEROOT)/Include/Arm/
 endif
 
+ifeq ($(ARCH), AARCH64)
+ARCH_INCLUDE = -I $(MAKEROOT)/Include/AArch64/
+endif
+
 INCLUDE = $(TOOL_INCLUDE) -I $(MAKEROOT) -I $(MAKEROOT)/Include/Common -I $(MAKEROOT)/Include/ -I $(MAKEROOT)/Include/IndustryStandard -I $(MAKEROOT)/Common/ -I .. -I . $(ARCH_INCLUDE) 
 CPPFLAGS = $(INCLUDE)
 CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fno-merge-constants -nostdlib -Wall -Werror -c -g