[coreboot-gerrit] New patch to review for coreboot: a07f03b crossgcc: Add buildsystem support for aarch64 compiler
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Wed Nov 19 18:38:29 CET 2014
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7527
-gerrit
commit a07f03b75ccd5a74c994c18919ea474a0b7f2f92
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Wed Nov 19 18:36:37 2014 +0100
crossgcc: Add buildsystem support for aarch64 compiler
This adds the crosstools-aarch64 and crossgcc-aarch64
make rules to create a toolchain (with or without gdb)
for AArch64 targets.
Change-Id: I6fbe09d44ee8b8493d3cd8dbbba869b409e311f7
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
Makefile.inc | 12 +++++++++---
util/crossgcc/Makefile | 7 +++++++
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index a7854fc..3b662ef 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -424,24 +424,30 @@ gitconfig:
git config remote.origin.push HEAD:refs/for/master
(git config --global user.name >/dev/null && git config --global user.email >/dev/null) || (printf 'Please configure your name and email in git:\n\n git config --global user.name "Your Name Comes Here"\n git config --global user.email your.email at example.com\n'; exit 1)
-crossgcc: crossgcc-i386 crossgcc-arm
+crossgcc: crossgcc-i386 crossgcc-arm crossgcc-aarch64
-.PHONY: crossgcc-i386 crossgcc-arm
+.PHONY: crossgcc-i386 crossgcc-arm crossgcc-aarch64
crossgcc-i386: clean-for-update
$(MAKE) -C util/crossgcc build-i386-without-gdb
crossgcc-arm: clean-for-update
$(MAKE) -C util/crossgcc build-armv7a-without-gdb
+crossgcc-aarch64: clean-for-update
+ $(MAKE) -C util/crossgcc build-aarch64-without-gdb
+
crosstools: crosstools-i386
-.PHONY: crosstools-i386 crosstools-arm
+.PHONY: crosstools-i386 crosstools-arm crosstools-aarch64
crosstools-i386: clean-for-update
$(MAKE) -C util/crossgcc build-i386
crosstools-arm: clean-for-update
$(MAKE) -C util/crossgcc build-armv7a
+crosstools-aarch64: clean-for-update
+ $(MAKE) -C util/crossgcc build-aarch64
+
crossgcc-clean: clean-for-update
$(MAKE) -C util/crossgcc clean
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 14ca1ec..d575ec5 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -6,6 +6,9 @@ build-i386:
build-armv7a:
bash ./buildgcc -G -p armv7a-eabi
+build-aarch64:
+ bash ./buildgcc -G -p aarch64-eabi
+
.PHONY: build-i386-without-gdb
build-i386-without-gdb:
bash ./buildgcc -p i386-elf
@@ -14,6 +17,10 @@ build-i386-without-gdb:
build-armv7a-without-gdb:
bash ./buildgcc -p armv7a-eabi
+.PHONY: build-armv7a-without-gdb
+build-aarch64-without-gdb:
+ bash ./buildgcc -p aarch64-eabi
+
clean:
rm -rf xgcc
More information about the coreboot-gerrit
mailing list