2015-03-13 22:50:22 +01:00
|
|
|
all: build-i386 build-x64 build-armv7a build-aarch64 build-mips build-riscv
|
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
|
|
|
|
2015-03-13 22:50:22 +01:00
|
|
|
build-x64:
|
|
|
|
bash ./buildgcc -G -p x86_64-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
|
|
|
|
|
2015-03-10 20:24:34 +01:00
|
|
|
build-riscv:
|
2015-03-07 10:57:25 +01:00
|
|
|
bash ./buildgcc -G -p riscv-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
|
|
|
|
2015-03-13 22:50:22 +01:00
|
|
|
.PHONY: build-x64-without-gdb
|
|
|
|
build-x64-without-gdb:
|
|
|
|
bash ./buildgcc -p x86_64-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
|
|
|
|
|
2015-03-07 10:57:25 +01:00
|
|
|
.PHONY: build-riscv-without-gdb
|
|
|
|
build-riscv-without-gdb:
|
|
|
|
bash ./buildgcc -p riscv-elf
|
|
|
|
|
2011-05-16 03:35:03 +02:00
|
|
|
clean:
|
|
|
|
rm -rf xgcc
|
|
|
|
|
|
|
|
.PHONY: all build clean
|