blob: 4c3e19e43fff2bcfd510a00a308e1d2c8c973037 [file] [log] [blame]
Patrick Georgif0bbc952015-03-07 10:57:25 +01001all: build-i386 build-armv7a build-aarch64 build-mips build-riscv
Cristian Magherusan-Stanciu0b933d42011-05-16 01:35:03 +00002
Edward O'Callaghan3a722782013-11-02 03:40:39 +11003build-i386:
Stefan Reinauer88c49392013-01-14 16:08:10 -08004 bash ./buildgcc -G -p i386-elf
Edward O'Callaghan3a722782013-11-02 03:40:39 +11005
6build-armv7a:
Stefan Reinauer88c49392013-01-14 16:08:10 -08007 bash ./buildgcc -G -p armv7a-eabi
Cristian Magherusan-Stanciu0b933d42011-05-16 01:35:03 +00008
Patrick Georgi3bff5d92014-11-19 18:36:37 +01009build-aarch64:
10 bash ./buildgcc -G -p aarch64-elf
11
Paul Burton6529c332014-05-27 15:18:42 +010012build-mips:
13 bash ./buildgcc -G -p mips-elf
14
Patrick Georgif0bbc952015-03-07 10:57:25 +010015build-mips:
16 bash ./buildgcc -G -p riscv-elf
17
Edward O'Callaghan3a722782013-11-02 03:40:39 +110018.PHONY: build-i386-without-gdb
19build-i386-without-gdb:
Stefan Reinauer88c49392013-01-14 16:08:10 -080020 bash ./buildgcc -p i386-elf
Edward O'Callaghan3a722782013-11-02 03:40:39 +110021
22.PHONY: build-armv7a-without-gdb
23build-armv7a-without-gdb:
Stefan Reinauer88c49392013-01-14 16:08:10 -080024 bash ./buildgcc -p armv7a-eabi
Peter Stugecc5dd982011-06-09 05:04:20 +020025
Patrick Georgi3bff5d92014-11-19 18:36:37 +010026.PHONY: build-aarch64-without-gdb
27build-aarch64-without-gdb:
28 bash ./buildgcc -p aarch64-elf
29
Paul Burton6529c332014-05-27 15:18:42 +010030.PHONY: build-mips-without-gdb
31build-mips-without-gdb:
32 bash ./buildgcc -p mips-elf
33
Patrick Georgif0bbc952015-03-07 10:57:25 +010034.PHONY: build-riscv-without-gdb
35build-riscv-without-gdb:
36 bash ./buildgcc -p riscv-elf
37
Cristian Magherusan-Stanciu0b933d42011-05-16 01:35:03 +000038clean:
39 rm -rf xgcc
40
41.PHONY: all build clean