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>
This commit is contained in:
Edward O'Callaghan
2013-11-02 03:40:39 +11:00
committed by Alexandru Gagniuc
parent adc0a6352d
commit 3a7227852b
2 changed files with 25 additions and 8 deletions

View File

@@ -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: