- if we get to arch code without an ATF_COMPILER, default it, no matter what the value of ATF_COMPILE is (yes/no/?)
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
|
|
#
|
|
# This file is a part of the Armbian Build Framework
|
|
# https://github.com/armbian/build/
|
|
#
|
|
# 'common.conf' is already sourced when this arch is sourced.
|
|
|
|
declare -g ARCH='armhf'
|
|
declare -g ARCHITECTURE='arm'
|
|
declare -g KERNEL_SRC_ARCH='arm'
|
|
declare -g QEMU_BINARY='qemu-arm-static'
|
|
declare -g INITRD_ARCH='arm'
|
|
|
|
# Linux root has a different Type-UUID for every architecture
|
|
# See https://uapi-group.org/specifications/specs/discoverable_partitions_specification/
|
|
declare -g PARTITION_TYPE_UUID_ROOT="69DAD710-2CE4-4E3C-B16C-21A1D49ABED3" # "Linux root (ARM)"
|
|
|
|
# Defaults, if not set by board or family.
|
|
declare -g KERNEL_IMAGE_TYPE="${KERNEL_IMAGE_TYPE:-"zImage"}"
|
|
declare -g KERNEL_INSTALL_TYPE="${KERNEL_INSTALL_TYPE:-"zinstall"}"
|
|
declare -g NAME_KERNEL="${NAME_KERNEL:-"zImage"}"
|
|
declare -g NAME_INITRD="${NAME_INITRD:-"uInitrd"}"
|
|
|
|
declare -g KERNEL_COMPILER="${KERNEL_COMPILER:-"arm-linux-gnueabihf-"}"
|
|
declare -g UBOOT_COMPILER="${UBOOT_COMPILER:-"arm-linux-gnueabihf-"}"
|
|
|
|
true # make sure to exit with 0 status; this protects against shortcircuits etc above.
|