Add CROSS_COMPILER and ARCH_BOOT settings for each architecture.

This commit is contained in:
Jeffrey Townsend
2018-05-01 20:12:24 +00:00
parent d66cceee0e
commit 45a08ada04
4 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
############################################################
include $(ONL)/make/config.mk
export TOOLCHAIN := x86_64-linux-gnu
export CROSS_COMPILER := $(TOOLCHAIN)-
export ARCH := amd64
export UARCH := AMD64
export ARCH_BOOT := grub
export __$(ARCH)__ := 1

View File

@@ -5,6 +5,8 @@
############################################################
include $(ONL)/make/config.mk
export TOOLCHAIN := aarch64-linux-gnu
export CROSS_COMPILER := $(TOOLCHAIN)-
export ARCH := arm64
export UARCH := ARM64
export ARCH_BOOT := uboot
export __$(ARCH)__ := 1

View File

@@ -5,6 +5,8 @@
############################################################
include $(ONL)/make/config.mk
export TOOLCHAIN := arm-linux-gnueabi
export CROSS_COMPILER := $(TOOLCHAIN)-
export ARCH := armel
export UARCH := ARMEL
export ARCH_BOOT := uboot
export __$(ARCH)__ := 1

View File

@@ -5,6 +5,8 @@
############################################################
include $(ONL)/make/config.mk
export TOOLCHAIN := powerpc-linux-gnu
export CROSS_COMPILER := $(TOOLCHAIN)-
export ARCH := powerpc
export UARCH := PPC
export ARCH_BOOT := uboot
export __$(ARCH)__ := 1