2014-05-27 16:18:42 +02:00
|
|
|
all: build-i386 build-armv7a build-aarch64 build-mips
|
2011-05-16 03:35:03 +02:00
|
|
|
|
2013-11-01 17:40:39 +01:00
|
|
|
build-i386:
|
2013-01-15 01:08:10 +01:00
|
|
|
bash ./buildgcc -G -p i386-elf
|
2013-11-01 17:40:39 +01:00
|
|
|
|
|
|
|
build-armv7a:
|
2013-01-15 01:08:10 +01:00
|
|
|
bash ./buildgcc -G -p armv7a-eabi
|
2011-05-16 03:35:03 +02:00
|
|
|
|
2014-11-19 18:36:37 +01:00
|
|
|
build-aarch64:
|
|
|
|
bash ./buildgcc -G -p aarch64-elf
|
|
|
|
|
2014-05-27 16:18:42 +02:00
|
|
|
build-mips:
|
|
|
|
bash ./buildgcc -G -p mips-elf
|
|
|
|
|
2013-11-01 17:40:39 +01:00
|
|
|
.PHONY: build-i386-without-gdb
|
|
|
|
build-i386-without-gdb:
|
2013-01-15 01:08:10 +01:00
|
|
|
bash ./buildgcc -p i386-elf
|
2013-11-01 17:40:39 +01:00
|
|
|
|
|
|
|
.PHONY: build-armv7a-without-gdb
|
|
|
|
build-armv7a-without-gdb:
|
2013-01-15 01:08:10 +01:00
|
|
|
bash ./buildgcc -p armv7a-eabi
|
2011-06-09 05:04:20 +02:00
|
|
|
|
2014-11-19 18:36:37 +01:00
|
|
|
.PHONY: build-aarch64-without-gdb
|
|
|
|
build-aarch64-without-gdb:
|
|
|
|
bash ./buildgcc -p aarch64-elf
|
|
|
|
|
2014-05-27 16:18:42 +02:00
|
|
|
.PHONY: build-mips-without-gdb
|
|
|
|
build-mips-without-gdb:
|
|
|
|
bash ./buildgcc -p mips-elf
|
|
|
|
|
2011-05-16 03:35:03 +02:00
|
|
|
clean:
|
|
|
|
rm -rf xgcc
|
|
|
|
|
|
|
|
.PHONY: all build clean
|