summaryrefslogtreecommitdiff
path: root/util/crossgcc/Makefile
blob: 22a10ba584c5798d523c8494bbbe41d0261e0f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: build-i386 build-armv7a

build-i386:
	bash ./buildgcc -G -p i386-elf

build-armv7a:
	bash ./buildgcc -G -p armv7a-eabi
	bash ./buildgcc -G -p aarch64-elf

build-aarch64:
	bash ./buildgcc -G -p aarch64-elf

.PHONY: build-i386-without-gdb
build-i386-without-gdb:
	bash ./buildgcc -p i386-elf

.PHONY: build-armv7a-without-gdb
build-armv7a-without-gdb:
	bash ./buildgcc -p armv7a-eabi
	bash ./buildgcc -p aarch64-elf

.PHONY: build-aarch64-without-gdb
build-aarch64-without-gdb:
	bash ./buildgcc -p aarch64-elf

clean:
	rm -rf xgcc

.PHONY: all build clean