Stefan Reinauer | 24f9cb9 | 2015-03-13 22:50:22 +0100 | [diff] [blame] | 1 | all: build-i386 build-x64 build-armv7a build-aarch64 build-mips build-riscv |
Cristian Magherusan-Stanciu | 0b933d4 | 2011-05-16 01:35:03 +0000 | [diff] [blame] | 2 | |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 3 | build-i386: |
Stefan Reinauer | 88c4939 | 2013-01-14 16:08:10 -0800 | [diff] [blame] | 4 | bash ./buildgcc -G -p i386-elf |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 5 | |
Stefan Reinauer | 24f9cb9 | 2015-03-13 22:50:22 +0100 | [diff] [blame] | 6 | build-x64: |
| 7 | bash ./buildgcc -G -p x86_64-elf |
| 8 | |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 9 | build-armv7a: |
Stefan Reinauer | 88c4939 | 2013-01-14 16:08:10 -0800 | [diff] [blame] | 10 | bash ./buildgcc -G -p armv7a-eabi |
Cristian Magherusan-Stanciu | 0b933d4 | 2011-05-16 01:35:03 +0000 | [diff] [blame] | 11 | |
Patrick Georgi | 3bff5d9 | 2014-11-19 18:36:37 +0100 | [diff] [blame] | 12 | build-aarch64: |
| 13 | bash ./buildgcc -G -p aarch64-elf |
| 14 | |
Paul Burton | 6529c33 | 2014-05-27 15:18:42 +0100 | [diff] [blame] | 15 | build-mips: |
| 16 | bash ./buildgcc -G -p mips-elf |
| 17 | |
Alexander Couzens | a49c0cc | 2015-03-10 20:24:34 +0100 | [diff] [blame] | 18 | build-riscv: |
Patrick Georgi | f0bbc95 | 2015-03-07 10:57:25 +0100 | [diff] [blame] | 19 | bash ./buildgcc -G -p riscv-elf |
| 20 | |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 21 | .PHONY: build-i386-without-gdb |
| 22 | build-i386-without-gdb: |
Stefan Reinauer | 88c4939 | 2013-01-14 16:08:10 -0800 | [diff] [blame] | 23 | bash ./buildgcc -p i386-elf |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 24 | |
Stefan Reinauer | 24f9cb9 | 2015-03-13 22:50:22 +0100 | [diff] [blame] | 25 | .PHONY: build-x64-without-gdb |
| 26 | build-x64-without-gdb: |
| 27 | bash ./buildgcc -p x86_64-elf |
| 28 | |
Edward O'Callaghan | 3a72278 | 2013-11-02 03:40:39 +1100 | [diff] [blame] | 29 | .PHONY: build-armv7a-without-gdb |
| 30 | build-armv7a-without-gdb: |
Stefan Reinauer | 88c4939 | 2013-01-14 16:08:10 -0800 | [diff] [blame] | 31 | bash ./buildgcc -p armv7a-eabi |
Peter Stuge | cc5dd98 | 2011-06-09 05:04:20 +0200 | [diff] [blame] | 32 | |
Patrick Georgi | 3bff5d9 | 2014-11-19 18:36:37 +0100 | [diff] [blame] | 33 | .PHONY: build-aarch64-without-gdb |
| 34 | build-aarch64-without-gdb: |
| 35 | bash ./buildgcc -p aarch64-elf |
| 36 | |
Paul Burton | 6529c33 | 2014-05-27 15:18:42 +0100 | [diff] [blame] | 37 | .PHONY: build-mips-without-gdb |
| 38 | build-mips-without-gdb: |
| 39 | bash ./buildgcc -p mips-elf |
| 40 | |
Patrick Georgi | f0bbc95 | 2015-03-07 10:57:25 +0100 | [diff] [blame] | 41 | .PHONY: build-riscv-without-gdb |
| 42 | build-riscv-without-gdb: |
| 43 | bash ./buildgcc -p riscv-elf |
| 44 | |
Cristian Magherusan-Stanciu | 0b933d4 | 2011-05-16 01:35:03 +0000 | [diff] [blame] | 45 | clean: |
| 46 | rm -rf xgcc |
| 47 | |
| 48 | .PHONY: all build clean |