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>
This commit is contained in:
parent
84c72dedab
commit
24f9cb91d0
14
Makefile.inc
14
Makefile.inc
|
@ -424,12 +424,15 @@ gitconfig:
|
|||
git config remote.origin.push HEAD:refs/for/master
|
||||
(git config --global user.name >/dev/null && git config --global user.email >/dev/null) || (printf 'Please configure your name and email in git:\n\n git config --global user.name "Your Name Comes Here"\n git config --global user.email your.email@example.com\n'; exit 1)
|
||||
|
||||
crossgcc: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
|
||||
crossgcc: crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
|
||||
|
||||
.PHONY: crossgcc-i386 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
|
||||
.PHONY: crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
|
||||
crossgcc-i386: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-i386-without-gdb
|
||||
|
||||
crossgcc-x64: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-x64-without-gdb
|
||||
|
||||
crossgcc-arm: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-armv7a-without-gdb
|
||||
|
||||
|
@ -442,12 +445,15 @@ crossgcc-mips: clean-for-update
|
|||
crossgcc-riscv: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-riscv-without-gdb
|
||||
|
||||
crosstools: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
|
||||
crosstools: crosstools-i386 crosstools-x64 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
|
||||
|
||||
.PHONY: crosstools-i386 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
|
||||
.PHONY: crosstools-i386 crosstools-x64 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
|
||||
crosstools-i386: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-i386
|
||||
|
||||
crosstools-x64: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-x64
|
||||
|
||||
crosstools-arm: clean-for-update
|
||||
$(MAKE) -C util/crossgcc build-armv7a
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
all: build-i386 build-armv7a build-aarch64 build-mips build-riscv
|
||||
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
|
||||
|
||||
|
@ -19,6 +22,10 @@ build-riscv:
|
|||
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
|
||||
|
|
|
@ -232,6 +232,8 @@ while true ; do
|
|||
done
|
||||
|
||||
case "$TARGETARCH" in
|
||||
x86_64-elf) ;;
|
||||
x86_64*) TARGETARCH=x86_64-elf;;
|
||||
i386-elf) ;;
|
||||
i386-mingw32) ;;
|
||||
mipsel-elf) ;;
|
||||
|
|
Loading…
Reference in New Issue