Patrick Georgi | f9ee50d | 2017-10-28 08:09:11 -0400 | [diff] [blame^] | 1 | # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
| 4 | # Check for EAPI 4+ |
| 5 | case "${EAPI:-0}" in |
| 6 | 4|5|6) ;; |
| 7 | *) die "unsupported EAPI (${EAPI}) in eclass (${ECLASS})" ;; |
| 8 | esac |
| 9 | |
| 10 | COREBOOT_SDK_PREFIX=/opt/coreboot-sdk |
| 11 | |
| 12 | COREBOOT_SDK_PREFIX_arm=${COREBOOT_SDK_PREFIX}/bin/arm-eabi- |
| 13 | COREBOOT_SDK_PREFIX_arm64=${COREBOOT_SDK_PREFIX}/bin/aarch64-elf- |
| 14 | COREBOOT_SDK_PREFIX_mips=${COREBOOT_SDK_PREFIX}/bin/mipsel-elf- |
| 15 | COREBOOT_SDK_PREFIX_nds32=${COREBOOT_SDK_PREFIX}/bin/nds32le-elf- |
| 16 | COREBOOT_SDK_PREFIX_x86_32=${COREBOOT_SDK_PREFIX}/bin/i386-elf- |
| 17 | COREBOOT_SDK_PREFIX_x86_64=${COREBOOT_SDK_PREFIX}/bin/x86_64-elf- |