summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2013-11-02 03:40:39 +1100
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-12 21:25:25 +0100
commit3a7227852b87fb4963baa31e8c36bc504a007f4d (patch)
tree358413cb466ce0cce49edd49d4fa31c8b213327a /util/crossgcc
parentadc0a6352d315b105caf71bd676b0a3f168af1e0 (diff)
downloadcoreboot-3a7227852b87fb4963baa31e8c36bc504a007f4d.tar.xz
utils/crossgcc: Refactor Makefiles for separate arm/i386.
Refactor Makefile build system as decompartmentalise armv7a and i386 targets from crossgcc. Change-Id: If93f62050810ba594c9925a9eb8ba9d04bc76459 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/4008 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/crossgcc')
-rw-r--r--util/crossgcc/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index da3b36bb15..14ca1ecf7e 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -1,12 +1,17 @@
-all: build
+all: build-i386 build-armv7a
-build:
+build-i386:
bash ./buildgcc -G -p i386-elf
+
+build-armv7a:
bash ./buildgcc -G -p armv7a-eabi
-.PHONY: build-without-gdb
-build-without-gdb:
+.PHONY: build-i386-without-gdb
+build-i386-without-gdb:
bash ./buildgcc -p i386-elf
+
+.PHONY: build-armv7a-without-gdb
+build-armv7a-without-gdb:
bash ./buildgcc -p armv7a-eabi
clean: