coreboot-kgpe-d16/util/crossgcc/Makefile
Stefan Reinauer 24f9cb91d0 crossgcc: Add x86_64 to list of supported architectures
You can build your new toolchain with:
  $ cd util/crossgcc/
  $ ./buildgcc -d /opt/cross -p x86_64-elf -j 16
or
  $ make crossgcc-x64

Change-Id: I8eb584166294578d2b33c63e94ed3aca9b5de4f4
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/8668
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-03-17 01:07:27 +01:00

48 lines
935 B
Makefile

all: build-i386 build-x64 build-armv7a build-aarch64 build-mips build-riscv
build-i386:
bash ./buildgcc -G -p i386-elf
build-x64:
bash ./buildgcc -G -p x86_64-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-riscv:
bash ./buildgcc -G -p riscv-elf
.PHONY: build-i386-without-gdb
build-i386-without-gdb:
bash ./buildgcc -p i386-elf
.PHONY: build-x64-without-gdb
build-x64-without-gdb:
bash ./buildgcc -p x86_64-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