mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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>
This commit is contained in:
2
CREDITS.md
Normal file
2
CREDITS.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[https://github.com/orgs/armbian/people](https://github.com/orgs/armbian/people)
|
||||||
|
[https://www.armbian.com/authors](https://www.armbian.com/authors)
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013-2021 Igor Pecovnik, igor.pecovnik@gma**.com
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
|
||||||
# License version 2. This program is licensed "as is" without any
|
|
||||||
# warranty of any kind, whether express or implied.
|
|
||||||
#
|
#
|
||||||
# This file is a part of the Armbian build script
|
# This file is a part of the Armbian Build Framework
|
||||||
# https://github.com/armbian/build/
|
# https://github.com/armbian/build/
|
||||||
|
|
||||||
# DO NOT EDIT THIS FILE
|
# DO NOT EDIT THIS FILE
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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.
|
# 'common.conf' is already sourced when this arch is sourced.
|
||||||
|
|
||||||
export ARCH='amd64' # Debian name $(dpkg-architecture -qDEB_HOST_ARCH)
|
export ARCH='amd64' # Debian name $(dpkg-architecture -qDEB_HOST_ARCH)
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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.
|
# 'common.conf' is already sourced when this arch is sourced.
|
||||||
|
|
||||||
export ARCH='arm64'
|
export ARCH='arm64'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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.
|
# 'common.conf' is already sourced when this arch is sourced.
|
||||||
|
|
||||||
export ARCH='armhf'
|
export ARCH='armhf'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
# this is sourced before any other arch specific config file, always. see main-config.sh
|
# this is sourced before any other arch specific config file, always. see main-config.sh
|
||||||
|
|
||||||
export FAST_CREATE_IMAGE='yes'
|
export FAST_CREATE_IMAGE='yes'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "flash-kernel"
|
enable_extension "flash-kernel"
|
||||||
export LINUXFAMILY=bcm2711
|
export LINUXFAMILY=bcm2711
|
||||||
export ARCH=arm64
|
export ARCH=arm64
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH="riscv64"
|
ARCH="riscv64"
|
||||||
|
|
||||||
BOOTSOURCE='https://github.com/smaeul/u-boot'
|
BOOTSOURCE='https://github.com/smaeul/u-boot'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
CPUMIN=392000
|
CPUMIN=392000
|
||||||
CPUMAX=996000
|
CPUMAX=996000
|
||||||
GOVERNOR=interactive
|
GOVERNOR=interactive
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
BOOTSOURCE='https://source.codeaurora.org/external/imx/uboot-imx'
|
BOOTSOURCE='https://source.codeaurora.org/external/imx/uboot-imx'
|
||||||
BOOTDIR='u-boot-sabre'
|
BOOTDIR='u-boot-sabre'
|
||||||
BOOTCONFIG="mx7dsabresd_defconfig"
|
BOOTCONFIG="mx7dsabresd_defconfig"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
UBOOT_TARGET_MAP="${UBOOT_TARGET_MAP:-u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot-dtb.img}"
|
UBOOT_TARGET_MAP="${UBOOT_TARGET_MAP:-u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot-dtb.img}"
|
||||||
BOOTSCRIPT="boot-meson64.cmd:boot.cmd"
|
BOOTSCRIPT="boot-meson64.cmd:boot.cmd"
|
||||||
BOOTENV_FILE='meson.txt'
|
BOOTENV_FILE='meson.txt'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH=armhf
|
ARCH=armhf
|
||||||
LINUXFAMILY=meson
|
LINUXFAMILY=meson
|
||||||
KERNEL_IMAGE_TYPE=uImage
|
KERNEL_IMAGE_TYPE=uImage
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
case $BRANCH in
|
case $BRANCH in
|
||||||
|
|
||||||
legacy | current)
|
legacy | current)
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
case $BRANCH in
|
case $BRANCH in
|
||||||
|
|
||||||
legacy | current | edge)
|
legacy | current | edge)
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "rkbin-tools"
|
enable_extension "rkbin-tools"
|
||||||
ARCH=arm64
|
ARCH=arm64
|
||||||
KERNEL_IMAGE_TYPE=Image
|
KERNEL_IMAGE_TYPE=Image
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "sunxi-tools"
|
enable_extension "sunxi-tools"
|
||||||
export ARCH=arm64
|
export ARCH=arm64
|
||||||
export ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=1 bl31;;build/$ATF_PLAT/debug/bl31.bin"
|
export ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=1 bl31;;build/$ATF_PLAT/debug/bl31.bin"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "sunxi-tools"
|
enable_extension "sunxi-tools"
|
||||||
export ARCH=armhf
|
export ARCH=armhf
|
||||||
export BOOTDELAY=1
|
export BOOTDELAY=1
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
declare -g SERIALCON="tty1" # Cant reasonably expect UEFI stuff to have a serial console. Customize if otherwise.
|
declare -g SERIALCON="tty1" # Cant reasonably expect UEFI stuff to have a serial console. Customize if otherwise.
|
||||||
declare -g SKIP_BOOTSPLASH="yes" # No splash.
|
declare -g SKIP_BOOTSPLASH="yes" # No splash.
|
||||||
declare -g UEFI_GRUB_TIMEOUT=${UEFI_GRUB_TIMEOUT:-3} # Default 3-seconds timeout for GRUB menu.
|
declare -g UEFI_GRUB_TIMEOUT=${UEFI_GRUB_TIMEOUT:-3} # Default 3-seconds timeout for GRUB menu.
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
|
|
||||||
UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot.bin:u-boot.nosd.bin u-boot-dtb.img"
|
UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot.bin:u-boot.nosd.bin u-boot-dtb.img"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
if [[ $BOARD = jetson-nano ]]; then
|
if [[ $BOARD = jetson-nano ]]; then
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
ASOUND_STATE="asound.state.meson64"
|
ASOUND_STATE="asound.state.meson64"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
ASOUND_STATE="asound.state.meson64"
|
ASOUND_STATE="asound.state.meson64"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
if [[ $BOARD == odroidc2 ]]; then
|
if [[ $BOARD == odroidc2 ]]; then
|
||||||
UBOOT_TARGET_MAP=";;$SRC/cache/sources/odroidc2-blobs/bl1.bin.hardkernel u-boot.bin"
|
UBOOT_TARGET_MAP=";;$SRC/cache/sources/odroidc2-blobs/bl1.bin.hardkernel u-boot.bin"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
|
|
||||||
if [[ $BOARD == lafrite ]]; then
|
if [[ $BOARD == lafrite ]]; then
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
||||||
ASOUND_STATE="asound.state.meson64"
|
ASOUND_STATE="asound.state.meson64"
|
||||||
CPUMIN=667000
|
CPUMIN=667000
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/meson_common.inc"
|
source "${BASH_SOURCE%/*}/include/meson_common.inc"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
BOOTSCRIPT='boot-mt7623.cmd:boot.cmd'
|
BOOTSCRIPT='boot-mt7623.cmd:boot.cmd'
|
||||||
BOOTENV_FILE='mt7623.txt'
|
BOOTENV_FILE='mt7623.txt'
|
||||||
UBOOT_TARGET_MAP=";;$SRC/packages/blobs/mt7623n/BPI-R2-HEAD440-0k.img $SRC/packages/blobs/mt7623n/BPI-R2-HEAD1-512b.img $SRC/packages/blobs/mt7623n/BPI-R2-preloader-2k.img $SRC/packages/blobs/mt7623n/BPI-R2-EMMC-boot0-0K-0905.img u-boot.bin"
|
UBOOT_TARGET_MAP=";;$SRC/packages/blobs/mt7623n/BPI-R2-HEAD440-0k.img $SRC/packages/blobs/mt7623n/BPI-R2-HEAD1-512b.img $SRC/packages/blobs/mt7623n/BPI-R2-preloader-2k.img $SRC/packages/blobs/mt7623n/BPI-R2-EMMC-boot0-0K-0905.img u-boot.bin"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "marvell-tools"
|
enable_extension "marvell-tools"
|
||||||
ARCH=armhf
|
ARCH=armhf
|
||||||
if [[ $BOARD == helios4 ]]; then
|
if [[ $BOARD == helios4 ]]; then
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "marvell-tools"
|
enable_extension "marvell-tools"
|
||||||
ARCH=arm64
|
ARCH=arm64
|
||||||
BOOTBRANCH='tag:v2022.04'
|
BOOTBRANCH='tag:v2022.04'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH=armhf
|
ARCH=armhf
|
||||||
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
|
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
|
||||||
BOOTSCRIPT='boot-odroid-xu4.ini:boot.ini'
|
BOOTSCRIPT='boot-odroid-xu4.ini:boot.ini'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
BOOTSCRIPT="boot-rk322x.cmd:boot.cmd"
|
BOOTSCRIPT="boot-rk322x.cmd:boot.cmd"
|
||||||
BOOTENV_FILE='rk322x.txt'
|
BOOTENV_FILE='rk322x.txt'
|
||||||
OVERLAY_PREFIX='rk322x'
|
OVERLAY_PREFIX='rk322x'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
case $BRANCH in
|
case $BRANCH in
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
# Disable uboot compilation; this board boots from HK stuff in SPI first.
|
# Disable uboot compilation; this board boots from HK stuff in SPI first.
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
BOOTSOURCE='https://github.com/radxa/u-boot.git'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
enable_extension "rkbin-tools"
|
enable_extension "rkbin-tools"
|
||||||
ARCH=armhf
|
ARCH=armhf
|
||||||
BOOTSCRIPT="boot-rockchip.cmd:boot.cmd"
|
BOOTSCRIPT="boot-rockchip.cmd:boot.cmd"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
|
|
||||||
case $BRANCH in
|
case $BRANCH in
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
||||||
#BOOTPATCHDIR="u-boot-rockchip64"
|
#BOOTPATCHDIR="u-boot-rockchip64"
|
||||||
BOOTENV_FILE='rockpis.txt'
|
BOOTENV_FILE='rockpis.txt'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH=arm64
|
ARCH=arm64
|
||||||
BOOTSOURCE='https://github.com/rafaello7/u-boot-nanopi-m3'
|
BOOTSOURCE='https://github.com/rafaello7/u-boot-nanopi-m3'
|
||||||
BOOTBRANCH='branch:master'
|
BOOTBRANCH='branch:master'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH="riscv64"
|
ARCH="riscv64"
|
||||||
|
|
||||||
LINUXCONFIG="linux-starfive-${BRANCH}"
|
LINUXCONFIG="linux-starfive-${BRANCH}"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH="riscv64"
|
ARCH="riscv64"
|
||||||
|
|
||||||
LINUXCONFIG="linux-starfive2-${BRANCH}"
|
LINUXCONFIG="linux-starfive2-${BRANCH}"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
OVERLAY_PREFIX='sun4i-a10'
|
OVERLAY_PREFIX='sun4i-a10'
|
||||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ATF_PLAT="sun50i_a64"
|
ATF_PLAT="sun50i_a64"
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
||||||
OVERLAY_PREFIX='sun50i-a64'
|
OVERLAY_PREFIX='sun50i-a64'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ATF_PLAT="sun50i_a64"
|
ATF_PLAT="sun50i_a64"
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
||||||
OVERLAY_PREFIX='sun50i-h5'
|
OVERLAY_PREFIX='sun50i-h5'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ATF_PLAT="sun50i_h6"
|
ATF_PLAT="sun50i_h6"
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
||||||
OVERLAY_PREFIX='sun50i-h6'
|
OVERLAY_PREFIX='sun50i-h6'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
|
||||||
|
|
||||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
OVERLAY_PREFIX='sun5i-a13'
|
OVERLAY_PREFIX='sun5i-a13'
|
||||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
OVERLAY_PREFIX='sun6i-a31s'
|
OVERLAY_PREFIX='sun6i-a31s'
|
||||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
OVERLAY_PREFIX='sun7i-a20'
|
OVERLAY_PREFIX='sun7i-a20'
|
||||||
[[ -z $CPUMIN ]] && CPUMIN=480000
|
[[ -z $CPUMIN ]] && CPUMIN=480000
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
|
|
||||||
OVERLAY_PREFIX='sun8i-v3s'
|
OVERLAY_PREFIX='sun8i-v3s'
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
|
|
||||||
if [[ -z ${OVERLAY_PREFIX} ]]; then
|
if [[ -z ${OVERLAY_PREFIX} ]]; then
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
source "${BASH_SOURCE%/*}/include/sunxi_common.inc"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
||||||
export LINUXFAMILY="arm64"
|
export LINUXFAMILY="arm64"
|
||||||
export ARCH="arm64"
|
export ARCH="arm64"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
||||||
export UBOOT_USE_GCC="none"
|
export UBOOT_USE_GCC="none"
|
||||||
export UEFI_GRUB_TERMINAL="gfxterm"
|
export UEFI_GRUB_TERMINAL="gfxterm"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
||||||
[[ "$BUILD_DESKTOP" == yes && "$RELEASE" == jammy ]] && enable_extension "nvidia"
|
[[ "$BUILD_DESKTOP" == yes && "$RELEASE" == jammy ]] && enable_extension "nvidia"
|
||||||
export UEFI_GRUB_TERMINAL="gfxterm"
|
export UEFI_GRUB_TERMINAL="gfxterm"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
BOOTBRANCH='tag:v2021.04'
|
BOOTBRANCH='tag:v2021.04'
|
||||||
|
|
||||||
export KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.
|
export KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
ARCH=armhf
|
ARCH=armhf
|
||||||
SERIALCON='ttyPS0'
|
SERIALCON='ttyPS0'
|
||||||
LINUXFAMILY=zynq
|
LINUXFAMILY=zynq
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
#
|
||||||
|
# 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.
|
# 'common.conf' is already sourced when this arch is sourced.
|
||||||
|
|
||||||
export ARCH='riscv64'
|
export ARCH='riscv64'
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function artifact_firmware_prepare_version() {
|
function artifact_firmware_prepare_version() {
|
||||||
artifact_version="undetermined" # outer scope
|
artifact_version="undetermined" # outer scope
|
||||||
artifact_version_reason="undetermined" # outer scope
|
artifact_version_reason="undetermined" # outer scope
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function artifact_full_firmware_prepare_version() {
|
function artifact_full_firmware_prepare_version() {
|
||||||
artifact_version="undetermined" # outer scope
|
artifact_version="undetermined" # outer scope
|
||||||
artifact_version_reason="undetermined" # outer scope
|
artifact_version_reason="undetermined" # outer scope
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# This is run in a logging section.
|
# This is run in a logging section.
|
||||||
# Prepare the version, "sans-repos": just the armbian/build repo contents are available.
|
# Prepare the version, "sans-repos": just the armbian/build repo contents are available.
|
||||||
# It is OK to reach out to the internet for a curl or ls-remote, but not for a git clone, but
|
# It is OK to reach out to the internet for a curl or ls-remote, but not for a git clone, but
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function artifact_rootfs_prepare_version() {
|
function artifact_rootfs_prepare_version() {
|
||||||
artifact_version="undetermined" # outer scope
|
artifact_version="undetermined" # outer scope
|
||||||
artifact_version_reason="undetermined" # outer scope
|
artifact_version_reason="undetermined" # outer scope
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function artifact_uboot_prepare_version() {
|
function artifact_uboot_prepare_version() {
|
||||||
artifact_version="undetermined" # outer scope
|
artifact_version="undetermined" # outer scope
|
||||||
artifact_version_reason="undetermined" # outer scope
|
artifact_version_reason="undetermined" # outer scope
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function create_artifact_functions() {
|
function create_artifact_functions() {
|
||||||
declare -a funcs=(
|
declare -a funcs=(
|
||||||
"cli_adapter_pre_run" "cli_adapter_config_prep"
|
"cli_adapter_pre_run" "cli_adapter_config_prep"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function armbian_register_artifacts() {
|
function armbian_register_artifacts() {
|
||||||
|
|
||||||
declare -g -A ARMBIAN_ARTIFACTS_TO_HANDLERS_DICT=(
|
declare -g -A ARMBIAN_ARTIFACTS_TO_HANDLERS_DICT=(
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function create_board_package() {
|
function create_board_package() {
|
||||||
display_alert "Creating board support package for CLI" "$CHOSEN_ROOTFS" "info"
|
display_alert "Creating board support package for CLI" "$CHOSEN_ROOTFS" "info"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function create_desktop_package() {
|
function create_desktop_package() {
|
||||||
# produced by aggregation.py
|
# produced by aggregation.py
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# copy_all_packages_files_for <folder> to package
|
|
||||||
#
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
|
# copy_all_packages_files_for <folder> to package
|
||||||
copy_all_packages_files_for() {
|
copy_all_packages_files_for() {
|
||||||
local package_name="${1}"
|
local package_name="${1}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_artifact_pre_run() {
|
function cli_artifact_pre_run() {
|
||||||
initialize_artifact "${WHAT}"
|
initialize_artifact "${WHAT}"
|
||||||
# Run the pre run adapter
|
# Run the pre run adapter
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_standard_build_pre_run() {
|
function cli_standard_build_pre_run() {
|
||||||
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_config_dump_pre_run() {
|
function cli_config_dump_pre_run() {
|
||||||
declare -g CONFIG_DEFS_ONLY='yes'
|
declare -g CONFIG_DEFS_ONLY='yes'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_distccd_pre_run() {
|
function cli_distccd_pre_run() {
|
||||||
: <<- 'HEADER'
|
: <<- 'HEADER'
|
||||||
Sets up an inline extension to include distccd in dependencies.
|
Sets up an inline extension to include distccd in dependencies.
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_docker_pre_run() {
|
function cli_docker_pre_run() {
|
||||||
if [[ "${DOCKERFILE_GENERATE_ONLY}" == "yes" ]]; then
|
if [[ "${DOCKERFILE_GENERATE_ONLY}" == "yes" ]]; then
|
||||||
display_alert "Dockerfile generation only" "func cli_docker_pre_run" "debug"
|
display_alert "Dockerfile generation only" "func cli_docker_pre_run" "debug"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_json_info_pre_run() {
|
function cli_json_info_pre_run() {
|
||||||
# "gimme root on a Linux machine"
|
# "gimme root on a Linux machine"
|
||||||
cli_standard_relaunch_docker_or_sudo
|
cli_standard_relaunch_docker_or_sudo
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_oras_pre_run() {
|
function cli_oras_pre_run() {
|
||||||
: # Empty, no need to do anything.
|
: # Empty, no need to do anything.
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_patch_kernel_pre_run() {
|
function cli_patch_kernel_pre_run() {
|
||||||
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
||||||
declare -g DOCKER_PASS_SSH_AGENT="yes" # Pass SSH agent to docker
|
declare -g DOCKER_PASS_SSH_AGENT="yes" # Pass SSH agent to docker
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_requirements_pre_run() {
|
function cli_requirements_pre_run() {
|
||||||
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_undecided_pre_run() {
|
function cli_undecided_pre_run() {
|
||||||
# If undecided, run the 'build' command.
|
# If undecided, run the 'build' command.
|
||||||
display_alert "cli_undecided_pre_run" "func cli_undecided_pre_run go to build" "debug"
|
display_alert "cli_undecided_pre_run" "func cli_undecided_pre_run go to build" "debug"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function armbian_register_commands() {
|
function armbian_register_commands() {
|
||||||
# More than one command can map to the same handler. In that case, use ARMBIAN_COMMANDS_TO_VARS_DICT for specific vars.
|
# More than one command can map to the same handler. In that case, use ARMBIAN_COMMANDS_TO_VARS_DICT for specific vars.
|
||||||
declare -g -A ARMBIAN_COMMANDS_TO_HANDLERS_DICT=(
|
declare -g -A ARMBIAN_COMMANDS_TO_HANDLERS_DICT=(
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function cli_entrypoint() {
|
function cli_entrypoint() {
|
||||||
# array, readonly, global, for future reference, "exported" to shutup shellcheck
|
# array, readonly, global, for future reference, "exported" to shutup shellcheck
|
||||||
declare -rg -x -a ARMBIAN_ORIGINAL_ARGV=("${@}")
|
declare -rg -x -a ARMBIAN_ORIGINAL_ARGV=("${@}")
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# This is called like this:
|
# This is called like this:
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# Forced .config options for all Armbian kernels.
|
# Forced .config options for all Armbian kernels.
|
||||||
|
|
||||||
# This is an internal/core extension.
|
# This is an internal/core extension.
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
compile_atf() {
|
compile_atf() {
|
||||||
if [[ -n "${ATFSOURCE}" && "${ATFSOURCE}" != "none" ]]; then
|
if [[ -n "${ATFSOURCE}" && "${ATFSOURCE}" != "none" ]]; then
|
||||||
display_alert "Downloading sources" "atf" "git"
|
display_alert "Downloading sources" "atf" "git"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function do_with_ccache_statistics() {
|
function do_with_ccache_statistics() {
|
||||||
|
|
||||||
display_alert "Clearing ccache statistics" "ccache" "ccache"
|
display_alert "Clearing ccache statistics" "ccache" "ccache"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# Config:
|
# Config:
|
||||||
# declare -A -g DISTCC_TARGETS_HOST_PORT=()
|
# declare -A -g DISTCC_TARGETS_HOST_PORT=()
|
||||||
# declare -A -g DISTCC_TARGETS_CORES=()
|
# declare -A -g DISTCC_TARGETS_CORES=()
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function prepare_kernel_config_core_or_userpatches() {
|
function prepare_kernel_config_core_or_userpatches() {
|
||||||
# LINUXCONFIG is set or exit_with_error
|
# LINUXCONFIG is set or exit_with_error
|
||||||
[[ -z "${LINUXCONFIG}" ]] && exit_with_error "LINUXCONFIG not set: '${LINUXCONFIG}'"
|
[[ -z "${LINUXCONFIG}" ]] && exit_with_error "LINUXCONFIG not set: '${LINUXCONFIG}'"
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# This is a re-imagining of mkdebian and builddeb from the kernel tree.
|
# This is a re-imagining of mkdebian and builddeb from the kernel tree.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# This is NOT run under do_with_retries.
|
# This is NOT run under do_with_retries.
|
||||||
function download_git_kernel_bundle() {
|
function download_git_kernel_bundle() {
|
||||||
# See https://mirrors.edge.kernel.org/pub/scm/.bundles/pub/scm/linux/kernel/git/
|
# See https://mirrors.edge.kernel.org/pub/scm/.bundles/pub/scm/linux/kernel/git/
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# This is not run under logging section.
|
# This is not run under logging section.
|
||||||
function kernel_prepare_bare_repo_decide_shallow_or_full() {
|
function kernel_prepare_bare_repo_decide_shallow_or_full() {
|
||||||
declare decision="not_yet_decided" decision_why="unknown"
|
declare decision="not_yet_decided" decision_why="unknown"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function kernel_prepare_git() {
|
function kernel_prepare_git() {
|
||||||
[[ -z $KERNELSOURCE ]] && return 0 # do nothing if no kernel source... but again, why were we called then?
|
[[ -z $KERNELSOURCE ]] && return 0 # do nothing if no kernel source... but again, why were we called then?
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function run_kernel_make_internal() {
|
function run_kernel_make_internal() {
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function kernel_main_patching_python() {
|
function kernel_main_patching_python() {
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function compile_kernel() {
|
function compile_kernel() {
|
||||||
declare kernel_work_dir="${SRC}/cache/sources/${LINUXSOURCEDIR}"
|
declare kernel_work_dir="${SRC}/cache/sources/${LINUXSOURCEDIR}"
|
||||||
display_alert "Kernel build starting" "${LINUXSOURCEDIR}" "info"
|
display_alert "Kernel build starting" "${LINUXSOURCEDIR}" "info"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
compile_armbian-config() {
|
compile_armbian-config() {
|
||||||
|
|
||||||
declare cleanup_id="" tmp_dir=""
|
declare cleanup_id="" tmp_dir=""
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function compile_firmware() {
|
function compile_firmware() {
|
||||||
: "${artifact_version:?artifact_version is not set}"
|
: "${artifact_version:?artifact_version is not set}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
compile_plymouth_theme_armbian() {
|
compile_plymouth_theme_armbian() {
|
||||||
|
|
||||||
declare cleanup_id="" tmp_dir=""
|
declare cleanup_id="" tmp_dir=""
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
# for deb building.
|
# for deb building.
|
||||||
function fakeroot_dpkg_deb_build() {
|
function fakeroot_dpkg_deb_build() {
|
||||||
display_alert "Building .deb package" "$*" "debug"
|
display_alert "Building .deb package" "$*" "debug"
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
compile_armbian-zsh() {
|
compile_armbian-zsh() {
|
||||||
declare cleanup_id="" tmp_dir=""
|
declare cleanup_id="" tmp_dir=""
|
||||||
prepare_temp_dir_in_workdir_and_schedule_cleanup "deb-zsh" cleanup_id tmp_dir # namerefs
|
prepare_temp_dir_in_workdir_and_schedule_cleanup "deb-zsh" cleanup_id tmp_dir # namerefs
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function kernel_drivers_create_patches_hash_only() {
|
function kernel_drivers_create_patches_hash_only() {
|
||||||
hash_only="yes" kernel_drivers_create_patches "${@}"
|
hash_only="yes" kernel_drivers_create_patches "${@}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
|
||||||
function driver_generic_bring_back_ipx() {
|
function driver_generic_bring_back_ipx() {
|
||||||
#
|
#
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user