From patchwork Tue Aug 12 15:54:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 35280 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9866420540 for ; Tue, 12 Aug 2014 15:55:06 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf72264700pab.5 for ; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=abTECVwLG4xednRBL7k3SSsm5GOIPU9ivOim5FQ7Yp0=; b=hW1N2QCV4Mct8uI6NPAt+6Sd5VesLR7D71JIaqTmJKNSc+4N8+RP450OhpS3wS8qG2 PJgFd7NgzAQ9YlrMEZlPkRwOMyM6fdcT88b5aqZA9raCuSFA8zlhMOW/UheMFQ+rzClW d+O4AdpyUDmy5zD93JHDr08fk0tQ6ZGLchnmJz0fjOwK9zW443ifBIkq3PWLA1MkZZqx GVS+TReJQanEgtubRU72Fb5PNuGxLo5Vst3wG+6WTDN9ZdWd15653djBL7x+bPeF5Ws3 4yhHLuCTkJUvbLr5oXOQq4xQURUb7lmGYEmLjHVO8OvGKlVvgb/OGTj0fbsR/0kuR3OR SKCQ== X-Gm-Message-State: ALoCoQkX3rjo+0qBvxyoVmqT0bZ2tZa8qOenfu8V6iekfwoYssrRVPw+CvH85fzfEoXbaX98y5XT X-Received: by 10.66.90.193 with SMTP id by1mr2747695pab.30.1407858905911; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.230 with SMTP id j93ls208530qgf.31.gmail; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-Received: by 10.52.0.132 with SMTP id 4mr22973680vde.10.1407858905806; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id id4si8451049vdb.100.2014.08.12.08.55.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 08:55:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so13528181vcb.32 for ; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-Received: by 10.52.94.108 with SMTP id db12mr24316587vdb.8.1407858905719; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp260094vcb; Tue, 12 Aug 2014 08:55:05 -0700 (PDT) X-Received: by 10.43.94.73 with SMTP id bx9mr40713652icc.19.1407858904940; Tue, 12 Aug 2014 08:55:04 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id jf8si25814794igb.6.2014.08.12.08.55.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Aug 2014 08:55:04 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XHEPL-0000tK-Ih; Tue, 12 Aug 2014 15:54:43 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XHEPK-0000tF-49 for edk2-devel@lists.sourceforge.net; Tue, 12 Aug 2014 15:54:42 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.169 as permitted sender) client-ip=74.125.82.169; envelope-from=leif.lindholm@linaro.org; helo=mail-we0-f169.google.com; Received: from mail-we0-f169.google.com ([74.125.82.169]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XHEPI-0002SS-0S for edk2-devel@lists.sourceforge.net; Tue, 12 Aug 2014 15:54:42 +0000 Received: by mail-we0-f169.google.com with SMTP id u56so10118559wes.14 for ; Tue, 12 Aug 2014 08:54:33 -0700 (PDT) X-Received: by 10.180.80.105 with SMTP id q9mr33849426wix.39.1407858873762; Tue, 12 Aug 2014 08:54:33 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu (cpc4-cmbg17-2-0-cust71.5-4.cable.virginm.net. [86.14.224.72]) by mx.google.com with ESMTPSA id ez1sm57547279wib.15.2014.08.12.08.54.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Aug 2014 08:54:33 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.sourceforge.net Date: Tue, 12 Aug 2014 16:54:41 +0100 Message-Id: <1407858881-14979-1-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1XHEPI-0002SS-0S Subject: [edk2] [PATCH] Actually plug in BaseTools build on AArch64 X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leif.lindholm@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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 Reviewed-By: Olivier Martin --- 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