mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
- fixes: unrecognized option '-Wl,--no-warn-rwx-segment' - add a patch to atf that removes the unrecognized linker options Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
41 lines
968 B
PHP
41 lines
968 B
PHP
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright (c) Martin Schmiedel
|
|
#
|
|
# This file is a part of the Armbian Build Framework
|
|
# https://github.com/armbian/build/
|
|
#
|
|
|
|
ARCH="arm64"
|
|
KERNEL_IMAGE_TYPE="Image"
|
|
OVERLAY_DIR="/boot/dtb/freescale/overlay"
|
|
SRC_EXTLINUX="yes" # use extlinux as default
|
|
IMX_FIRMWARE="${IMX_FIRMWARE:-"firmware-imx-8.12"}"
|
|
# ATF_PLAT musst set in board
|
|
# ATF_UART_BASE musst set in board
|
|
# MAP = target_make,target_patchdir,target_files
|
|
# use xxx:xxx to rename files after build
|
|
ATFPATCHDIR='atf-imx8'
|
|
ATF_TARGET_MAP="PLAT=${ATF_PLAT} IMX_BOOT_UART_BASE=${ATF_UART_BASE} bl31;;build/imx8mp/release/bl31.bin"
|
|
UBOOT_TARGET_MAP="flash.bin;;flash.bin"
|
|
|
|
# linux releated
|
|
case $BOARD in
|
|
|
|
mba8mpxl*)
|
|
LINUXCONFIG='linux-tqma-'$BRANCH # one config for "tq arm modules"
|
|
case $BRANCH in
|
|
|
|
current) # mainline stable kernel
|
|
KERNEL_MAJOR_MINOR="6.12"
|
|
;;
|
|
|
|
edge | default) # use for tests with recent mainline kernels
|
|
;;
|
|
|
|
esac
|
|
;;
|
|
|
|
esac
|