Files
build/config/sources/amd64.conf
Igor Pečovnik b7b8eb7b72 Add / modify (c) in bash scripts (#4922)
* Add / modify (c) in bash scripts

Signed-off-by: Igor <igor@armbian.com>

* Add (c) to the source config files

---------

Signed-off-by: Igor <igor@armbian.com>
2023-03-09 18:30:40 +01:00

34 lines
1.5 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.
export ARCH='amd64' # Debian name $(dpkg-architecture -qDEB_HOST_ARCH)
export ARCHITECTURE='x86_64' # "kernel" arch
export KERNEL_SRC_ARCH='x86' # kernel SRC_ARCH; there's two for x86_64
export QEMU_BINARY='qemu-x86_64-static' # Hopefully you have this installed.
export MAIN_CMDLINE='' # we set it in common, it was not set before
export KERNEL_COMPILER=' ' # hack: use single space for host gcc. won't work on arm64 hosts
export KERNEL_USE_GCC=' ' # more hacks.
export KERNEL_IMAGE_TYPE='bzImage' # Ubuntu Standard
export KERNEL_EXTRA_TARGETS='modules' # default is "modules dtb" but x86_64 has no DTB
export KERNEL_BUILD_DTBS="no" # amd64 has no DTBs. that I know of.
export UBOOT_USE_GCC='none' # required by configuration.sh
#export INITRD_ARCH=amd64 # Used by u-boot for mkimage in initramfs. No u-boot for x86 yet.
# Default to mainline
[[ -z $KERNELSOURCE ]] && KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
if [[ "$(uname -m)" == "aarch64" ]]; then
# Allow building amd64 on aarch64, but using system toolchain only
export KERNEL_COMPILER="x86_64-linux-gnu-"
export SKIP_EXTERNAL_TOOLCHAINS=yes
fi
true # make sure to exit with 0 status; this protects against shortcircuits etc above.