This patch introduces support for building a MIPS cross compiler targetting little endian machines by default. Change-Id: I116f6f431cdf80f5f5f58d2743357a9f70a7347d Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-on: https://chromium-review.googlesource.com/207970 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org>
19 lines
371 B
Makefile
19 lines
371 B
Makefile
all: build
|
|
|
|
build:
|
|
bash ./buildgcc -G -p i386-elf
|
|
bash ./buildgcc -G -p armv7a-eabi
|
|
bash ./buildgcc -G -p aarch64-elf
|
|
bash ./buildgcc -G -p mipsel-elf
|
|
|
|
.PHONY: build-without-gdb
|
|
build-without-gdb:
|
|
bash ./buildgcc -p i386-elf
|
|
bash ./buildgcc -p armv7a-eabi
|
|
bash ./buildgcc -p aarch64-elf
|
|
bash ./buildgcc -p mipsel-elf
|
|
|
|
clean:
|
|
rm -rf xgcc
|
|
|
|
.PHONY: all build clean
|