blob: d0ab28aad344ad2ec1a86fc83c4ea8e38b0112ae [file] [log] [blame]
Stefan Reinauer24f9cb92015-03-13 22:50:22 +01001all: build-i386 build-x64 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
Stefan Reinauer24f9cb92015-03-13 22:50:22 +01006build-x64:
7 bash ./buildgcc -G -p x86_64-elf
8
Edward O'Callaghan3a722782013-11-02 03:40:39 +11009build-armv7a:
Stefan Reinauer88c49392013-01-14 16:08:10 -080010 bash ./buildgcc -G -p armv7a-eabi
Cristian Magherusan-Stanciu0b933d42011-05-16 01:35:03 +000011
Patrick Georgi3bff5d92014-11-19 18:36:37 +010012build-aarch64:
13 bash ./buildgcc -G -p aarch64-elf
14
Paul Burton6529c332014-05-27 15:18:42 +010015build-mips:
Patrick Georgi0d06b2d2015-03-28 15:24:06 +010016 bash ./buildgcc -G -p mipsel-elf
Paul Burton6529c332014-05-27 15:18:42 +010017
Alexander Couzensa49c0cc2015-03-10 20:24:34 +010018build-riscv:
Patrick Georgif0bbc952015-03-07 10:57:25 +010019 bash ./buildgcc -G -p riscv-elf
20
Edward O'Callaghan3a722782013-11-02 03:40:39 +110021.PHONY: build-i386-without-gdb
22build-i386-without-gdb:
Stefan Reinauer88c49392013-01-14 16:08:10 -080023 bash ./buildgcc -p i386-elf
Edward O'Callaghan3a722782013-11-02 03:40:39 +110024
Stefan Reinauer24f9cb92015-03-13 22:50:22 +010025.PHONY: build-x64-without-gdb
26build-x64-without-gdb:
27 bash ./buildgcc -p x86_64-elf
28
Edward O'Callaghan3a722782013-11-02 03:40:39 +110029.PHONY: build-armv7a-without-gdb
30build-armv7a-without-gdb:
Stefan Reinauer88c49392013-01-14 16:08:10 -080031 bash ./buildgcc -p armv7a-eabi
Peter Stugecc5dd982011-06-09 05:04:20 +020032
Patrick Georgi3bff5d92014-11-19 18:36:37 +010033.PHONY: build-aarch64-without-gdb
34build-aarch64-without-gdb:
35 bash ./buildgcc -p aarch64-elf
36
Paul Burton6529c332014-05-27 15:18:42 +010037.PHONY: build-mips-without-gdb
38build-mips-without-gdb:
Patrick Georgi0d06b2d2015-03-28 15:24:06 +010039 bash ./buildgcc -p mipsel-elf
Paul Burton6529c332014-05-27 15:18:42 +010040
Patrick Georgif0bbc952015-03-07 10:57:25 +010041.PHONY: build-riscv-without-gdb
42build-riscv-without-gdb:
43 bash ./buildgcc -p riscv-elf
44
Cristian Magherusan-Stanciu0b933d42011-05-16 01:35:03 +000045clean:
46 rm -rf xgcc
47
48.PHONY: all build clean