coreboot-kgpe-d16/util/crossgcc/Makefile
Patrick Georgi f0bbc95f12 crossgcc: Add RISC-V support
Change-Id: If1e0f7ed21f67d7a185dad251ede81ddbc18c4e5
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/8629
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2015-03-08 13:56:08 +01:00

41 lines
793 B
Makefile

all: build-i386 build-armv7a build-aarch64 build-mips build-riscv
build-i386:
bash ./buildgcc -G -p i386-elf
build-armv7a:
bash ./buildgcc -G -p armv7a-eabi
build-aarch64:
bash ./buildgcc -G -p aarch64-elf
build-mips:
bash ./buildgcc -G -p mips-elf
build-mips:
bash ./buildgcc -G -p riscv-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
.PHONY: build-aarch64-without-gdb
build-aarch64-without-gdb:
bash ./buildgcc -p aarch64-elf
.PHONY: build-mips-without-gdb
build-mips-without-gdb:
bash ./buildgcc -p mips-elf
.PHONY: build-riscv-without-gdb
build-riscv-without-gdb:
bash ./buildgcc -p riscv-elf
clean:
rm -rf xgcc
.PHONY: all build clean