소스 검색

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>
Igor Pečovnik 2 년 전
부모
커밋
b7b8eb7b72
100개의 변경된 파일820개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 0
      CREDITS.md
  2. 3 5
      compile.sh
  3. 8 0
      config/sources/amd64.conf
  4. 8 0
      config/sources/arm64.conf
  5. 8 0
      config/sources/armhf.conf
  6. 8 0
      config/sources/common.conf
  7. 8 0
      config/sources/families/bcm2711.conf
  8. 8 0
      config/sources/families/d1.conf
  9. 8 0
      config/sources/families/imx6.conf
  10. 8 0
      config/sources/families/imx7d.conf
  11. 8 0
      config/sources/families/include/meson64_common.inc
  12. 8 0
      config/sources/families/include/meson_common.inc
  13. 8 0
      config/sources/families/include/mvebu-clearfog.inc
  14. 8 0
      config/sources/families/include/mvebu-helios4.inc
  15. 8 0
      config/sources/families/include/rockchip64_common.inc
  16. 8 0
      config/sources/families/include/sunxi64_common.inc
  17. 8 0
      config/sources/families/include/sunxi_common.inc
  18. 8 0
      config/sources/families/include/uefi_common.inc
  19. 8 0
      config/sources/families/jethub.conf
  20. 8 0
      config/sources/families/media.conf
  21. 8 0
      config/sources/families/meson-g12a.conf
  22. 8 0
      config/sources/families/meson-g12b.conf
  23. 8 0
      config/sources/families/meson-gxbb.conf
  24. 8 0
      config/sources/families/meson-gxl.conf
  25. 8 0
      config/sources/families/meson-sm1.conf
  26. 8 0
      config/sources/families/meson8b.conf
  27. 8 0
      config/sources/families/mt7623.conf
  28. 8 0
      config/sources/families/mvebu.conf
  29. 8 0
      config/sources/families/mvebu64.conf
  30. 8 0
      config/sources/families/odroidxu4.conf
  31. 8 0
      config/sources/families/rk322x.conf
  32. 8 0
      config/sources/families/rk3399.conf
  33. 8 0
      config/sources/families/rk3568-odroid.conf
  34. 8 0
      config/sources/families/rk35xx.conf
  35. 8 0
      config/sources/families/rockchip-rk3588.conf
  36. 8 0
      config/sources/families/rockchip.conf
  37. 8 0
      config/sources/families/rockchip64.conf
  38. 8 0
      config/sources/families/rockpis.conf
  39. 8 0
      config/sources/families/s5p6818.conf
  40. 8 0
      config/sources/families/starfive.conf
  41. 8 0
      config/sources/families/starfive2.conf
  42. 8 0
      config/sources/families/sun4i.conf
  43. 8 0
      config/sources/families/sun50iw1.conf
  44. 8 0
      config/sources/families/sun50iw2.conf
  45. 8 0
      config/sources/families/sun50iw6.conf
  46. 8 0
      config/sources/families/sun50iw9.conf
  47. 8 0
      config/sources/families/sun5i.conf
  48. 8 0
      config/sources/families/sun6i.conf
  49. 8 0
      config/sources/families/sun7i.conf
  50. 8 0
      config/sources/families/sun8i-v3s.conf
  51. 8 0
      config/sources/families/sun8i.conf
  52. 8 0
      config/sources/families/sun9i.conf
  53. 8 0
      config/sources/families/uefi-arm64.conf
  54. 8 0
      config/sources/families/uefi-riscv64.conf
  55. 8 0
      config/sources/families/uefi-x86.conf
  56. 8 0
      config/sources/families/virtual.conf
  57. 8 0
      config/sources/families/zynq.conf
  58. 8 0
      config/sources/riscv64.conf
  59. 9 0
      lib/functions/artifacts/artifact-firmware.sh
  60. 9 0
      lib/functions/artifacts/artifact-full_firmware.sh
  61. 9 0
      lib/functions/artifacts/artifact-kernel.sh
  62. 9 0
      lib/functions/artifacts/artifact-rootfs.sh
  63. 9 0
      lib/functions/artifacts/artifact-uboot.sh
  64. 9 0
      lib/functions/artifacts/artifacts-obtain.sh
  65. 9 0
      lib/functions/artifacts/artifacts-registry.sh
  66. 8 0
      lib/functions/bsp/bsp-cli.sh
  67. 7 0
      lib/functions/bsp/bsp-desktop.sh
  68. 8 1
      lib/functions/bsp/utils-bsp.sh
  69. 9 0
      lib/functions/cli/cli-artifact.sh
  70. 9 0
      lib/functions/cli/cli-build.sh
  71. 9 0
      lib/functions/cli/cli-configdump.sh
  72. 9 0
      lib/functions/cli/cli-distccd.sh
  73. 9 0
      lib/functions/cli/cli-docker.sh
  74. 9 0
      lib/functions/cli/cli-jsoninfo.sh
  75. 9 0
      lib/functions/cli/cli-oras.sh
  76. 9 0
      lib/functions/cli/cli-patch.sh
  77. 9 0
      lib/functions/cli/cli-requirements.sh
  78. 9 0
      lib/functions/cli/cli-undecided.sh
  79. 9 0
      lib/functions/cli/commands.sh
  80. 9 0
      lib/functions/cli/entrypoint.sh
  81. 9 0
      lib/functions/cli/utils-cli.sh
  82. 9 0
      lib/functions/compilation/armbian-kernel.sh
  83. 8 0
      lib/functions/compilation/atf.sh
  84. 9 0
      lib/functions/compilation/ccache.sh
  85. 9 0
      lib/functions/compilation/distcc.sh
  86. 9 0
      lib/functions/compilation/kernel-config.sh
  87. 7 0
      lib/functions/compilation/kernel-debs.sh
  88. 9 0
      lib/functions/compilation/kernel-git-bundle.sh
  89. 9 0
      lib/functions/compilation/kernel-git-oras.sh
  90. 9 0
      lib/functions/compilation/kernel-git.sh
  91. 7 0
      lib/functions/compilation/kernel-make.sh
  92. 9 0
      lib/functions/compilation/kernel-patching.sh
  93. 8 0
      lib/functions/compilation/kernel.sh
  94. 9 0
      lib/functions/compilation/packages/armbian-config-deb.sh
  95. 9 0
      lib/functions/compilation/packages/firmware-deb.sh
  96. 9 0
      lib/functions/compilation/packages/plymouth-deb.sh
  97. 9 0
      lib/functions/compilation/packages/utils-dpkgdeb.sh
  98. 9 0
      lib/functions/compilation/packages/zsh-deb.sh
  99. 9 0
      lib/functions/compilation/patch/drivers-harness.sh
  100. 8 1
      lib/functions/compilation/patch/drivers_network.sh

+ 2 - 0
CREDITS.md

@@ -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)

+ 3 - 5
compile.sh

@@ -1,12 +1,10 @@
 #!/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
-# License version 2. This program is licensed "as is" without any
-# warranty of any kind, whether express or implied.
+# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
 #
-# 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/
 
 # DO NOT EDIT THIS FILE

+ 8 - 0
config/sources/amd64.conf

@@ -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.
 
 export ARCH='amd64'                     # Debian name $(dpkg-architecture -qDEB_HOST_ARCH)

+ 8 - 0
config/sources/arm64.conf

@@ -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.
 
 export ARCH='arm64'

+ 8 - 0
config/sources/armhf.conf

@@ -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.
 
 export ARCH='armhf'

+ 8 - 0
config/sources/common.conf

@@ -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
 
 export FAST_CREATE_IMAGE='yes'

+ 8 - 0
config/sources/families/bcm2711.conf

@@ -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"
 export LINUXFAMILY=bcm2711
 export ARCH=arm64

+ 8 - 0
config/sources/families/d1.conf

@@ -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"
 
 BOOTSOURCE='https://github.com/smaeul/u-boot'

+ 8 - 0
config/sources/families/imx6.conf

@@ -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
 CPUMAX=996000
 GOVERNOR=interactive

+ 8 - 0
config/sources/families/imx7d.conf

@@ -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'
 BOOTDIR='u-boot-sabre'
 BOOTCONFIG="mx7dsabresd_defconfig"

+ 8 - 0
config/sources/families/include/meson64_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/
+#
 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"
 BOOTENV_FILE='meson.txt'

+ 8 - 0
config/sources/families/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/
+#
 ARCH=armhf
 LINUXFAMILY=meson
 KERNEL_IMAGE_TYPE=uImage

+ 8 - 0
config/sources/families/include/mvebu-clearfog.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/
+#
 case $BRANCH in
 
 	legacy | current)

+ 8 - 0
config/sources/families/include/mvebu-helios4.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/
+#
 case $BRANCH in
 
 	legacy | current | edge)

+ 8 - 0
config/sources/families/include/rockchip64_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/
+#
 enable_extension "rkbin-tools"
 ARCH=arm64
 KERNEL_IMAGE_TYPE=Image

+ 8 - 0
config/sources/families/include/sunxi64_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/
+#
 enable_extension "sunxi-tools"
 export ARCH=arm64
 export ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=1 bl31;;build/$ATF_PLAT/debug/bl31.bin"

+ 8 - 0
config/sources/families/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/
+#
 enable_extension "sunxi-tools"
 export ARCH=armhf
 export BOOTDELAY=1

+ 8 - 0
config/sources/families/include/uefi_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/
+#
 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 UEFI_GRUB_TIMEOUT=${UEFI_GRUB_TIMEOUT:-3} # Default 3-seconds timeout for GRUB menu.

+ 8 - 0
config/sources/families/jethub.conf

@@ -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"
 
 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"

+ 8 - 0
config/sources/families/media.conf

@@ -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"
 
 if [[ $BOARD = jetson-nano ]]; then

+ 8 - 0
config/sources/families/meson-g12a.conf

@@ -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"
 ASOUND_STATE="asound.state.meson64"
 

+ 8 - 0
config/sources/families/meson-g12b.conf

@@ -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"
 ASOUND_STATE="asound.state.meson64"
 

+ 8 - 0
config/sources/families/meson-gxbb.conf

@@ -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"
 if [[ $BOARD == odroidc2 ]]; then
 	UBOOT_TARGET_MAP=";;$SRC/cache/sources/odroidc2-blobs/bl1.bin.hardkernel u-boot.bin"

+ 8 - 0
config/sources/families/meson-gxl.conf

@@ -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"
 
 if [[ $BOARD == lafrite ]]; then

+ 8 - 0
config/sources/families/meson-sm1.conf

@@ -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"
 ASOUND_STATE="asound.state.meson64"
 CPUMIN=667000

+ 8 - 0
config/sources/families/meson8b.conf

@@ -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"

+ 8 - 0
config/sources/families/mt7623.conf

@@ -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'
 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"

+ 8 - 0
config/sources/families/mvebu.conf

@@ -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"
 ARCH=armhf
 if [[ $BOARD == helios4 ]]; then

+ 8 - 0
config/sources/families/mvebu64.conf

@@ -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"
 ARCH=arm64
 BOOTBRANCH='tag:v2022.04'

+ 8 - 0
config/sources/families/odroidxu4.conf

@@ -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
 BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
 BOOTSCRIPT='boot-odroid-xu4.ini:boot.ini'

+ 8 - 0
config/sources/families/rk322x.conf

@@ -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"
 BOOTENV_FILE='rk322x.txt'
 OVERLAY_PREFIX='rk322x'

+ 8 - 0
config/sources/families/rk3399.conf

@@ -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"
 
 case $BRANCH in

+ 8 - 0
config/sources/families/rk3568-odroid.conf

@@ -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"
 
 # Disable uboot compilation; this board boots from HK stuff in SPI first.

+ 8 - 0
config/sources/families/rk35xx.conf

@@ -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"
 
 BOOTSOURCE='https://github.com/radxa/u-boot.git'

+ 8 - 0
config/sources/families/rockchip-rk3588.conf

@@ -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"
 
 BOOTSOURCE='https://github.com/radxa/u-boot.git'

+ 8 - 0
config/sources/families/rockchip.conf

@@ -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"
 ARCH=armhf
 BOOTSCRIPT="boot-rockchip.cmd:boot.cmd"

+ 8 - 0
config/sources/families/rockchip64.conf

@@ -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"
 
 case $BRANCH in

+ 8 - 0
config/sources/families/rockpis.conf

@@ -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"
 #BOOTPATCHDIR="u-boot-rockchip64"
 BOOTENV_FILE='rockpis.txt'

+ 8 - 0
config/sources/families/s5p6818.conf

@@ -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
 BOOTSOURCE='https://github.com/rafaello7/u-boot-nanopi-m3'
 BOOTBRANCH='branch:master'

+ 8 - 0
config/sources/families/starfive.conf

@@ -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"
 
 LINUXCONFIG="linux-starfive-${BRANCH}"

+ 8 - 0
config/sources/families/starfive2.conf

@@ -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"
 
 LINUXCONFIG="linux-starfive2-${BRANCH}"

+ 8 - 0
config/sources/families/sun4i.conf

@@ -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"
 OVERLAY_PREFIX='sun4i-a10'
 [[ -z $CPUMIN ]] && CPUMIN=480000

+ 8 - 0
config/sources/families/sun50iw1.conf

@@ -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"
 source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
 OVERLAY_PREFIX='sun50i-a64'

+ 8 - 0
config/sources/families/sun50iw2.conf

@@ -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"
 source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
 OVERLAY_PREFIX='sun50i-h5'

+ 8 - 0
config/sources/families/sun50iw6.conf

@@ -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"
 source "${BASH_SOURCE%/*}/include/sunxi64_common.inc"
 OVERLAY_PREFIX='sun50i-h6'

+ 8 - 0
config/sources/families/sun50iw9.conf

@@ -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"
 
 [[ -z $CPUMIN ]] && CPUMIN=480000

+ 8 - 0
config/sources/families/sun5i.conf

@@ -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"
 OVERLAY_PREFIX='sun5i-a13'
 [[ -z $CPUMIN ]] && CPUMIN=480000

+ 8 - 0
config/sources/families/sun6i.conf

@@ -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"
 OVERLAY_PREFIX='sun6i-a31s'
 [[ -z $CPUMIN ]] && CPUMIN=480000

+ 8 - 0
config/sources/families/sun7i.conf

@@ -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"
 OVERLAY_PREFIX='sun7i-a20'
 [[ -z $CPUMIN ]] && CPUMIN=480000

+ 8 - 0
config/sources/families/sun8i-v3s.conf

@@ -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"
 
 OVERLAY_PREFIX='sun8i-v3s'

+ 8 - 0
config/sources/families/sun8i.conf

@@ -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"
 
 if [[ -z ${OVERLAY_PREFIX} ]]; then

+ 8 - 0
config/sources/families/sun9i.conf

@@ -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"

+ 8 - 0
config/sources/families/uefi-arm64.conf

@@ -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
 export LINUXFAMILY="arm64"
 export ARCH="arm64"

+ 8 - 0
config/sources/families/uefi-riscv64.conf

@@ -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
 export UBOOT_USE_GCC="none"
 export UEFI_GRUB_TERMINAL="gfxterm"

+ 8 - 0
config/sources/families/uefi-x86.conf

@@ -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
 [[ "$BUILD_DESKTOP" == yes && "$RELEASE" == jammy ]] && enable_extension "nvidia"
 export UEFI_GRUB_TERMINAL="gfxterm"

+ 8 - 0
config/sources/families/virtual.conf

@@ -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'
 
 export KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.

+ 8 - 0
config/sources/families/zynq.conf

@@ -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
 SERIALCON='ttyPS0'
 LINUXFAMILY=zynq

+ 8 - 0
config/sources/riscv64.conf

@@ -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.
 
 export ARCH='riscv64'

+ 9 - 0
lib/functions/artifacts/artifact-firmware.sh

@@ -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() {
 	artifact_version="undetermined"        # outer scope
 	artifact_version_reason="undetermined" # outer scope

+ 9 - 0
lib/functions/artifacts/artifact-full_firmware.sh

@@ -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() {
 	artifact_version="undetermined"        # outer scope
 	artifact_version_reason="undetermined" # outer scope

+ 9 - 0
lib/functions/artifacts/artifact-kernel.sh

@@ -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.
 # 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

+ 9 - 0
lib/functions/artifacts/artifact-rootfs.sh

@@ -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() {
 	artifact_version="undetermined"        # outer scope
 	artifact_version_reason="undetermined" # outer scope

+ 9 - 0
lib/functions/artifacts/artifact-uboot.sh

@@ -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() {
 	artifact_version="undetermined"        # outer scope
 	artifact_version_reason="undetermined" # outer scope

+ 9 - 0
lib/functions/artifacts/artifacts-obtain.sh

@@ -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() {
 	declare -a funcs=(
 		"cli_adapter_pre_run" "cli_adapter_config_prep"

+ 9 - 0
lib/functions/artifacts/artifacts-registry.sh

@@ -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() {
 
 	declare -g -A ARMBIAN_ARTIFACTS_TO_HANDLERS_DICT=(

+ 8 - 0
lib/functions/bsp/bsp-cli.sh

@@ -1,4 +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_board_package() {
 	display_alert "Creating board support package for CLI" "$CHOSEN_ROOTFS" "info"
 

+ 7 - 0
lib/functions/bsp/bsp-desktop.sh

@@ -1,4 +1,11 @@
 #!/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() {
 	# produced by aggregation.py

+ 8 - 1
lib/functions/bsp/utils-bsp.sh

@@ -1,6 +1,13 @@
 #!/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() {
 	local package_name="${1}"
 

+ 9 - 0
lib/functions/cli/cli-artifact.sh

@@ -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() {
 	initialize_artifact "${WHAT}"
 	# Run the pre run adapter

+ 9 - 0
lib/functions/cli/cli-build.sh

@@ -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() {
 	declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
 

+ 9 - 0
lib/functions/cli/cli-configdump.sh

@@ -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() {
 	declare -g CONFIG_DEFS_ONLY='yes'
 }

+ 9 - 0
lib/functions/cli/cli-distccd.sh

@@ -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() {
 	: <<- 'HEADER'
 		Sets up an inline extension to include distccd in dependencies.

+ 9 - 0
lib/functions/cli/cli-docker.sh

@@ -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() {
 	if [[ "${DOCKERFILE_GENERATE_ONLY}" == "yes" ]]; then
 		display_alert "Dockerfile generation only" "func cli_docker_pre_run" "debug"

+ 9 - 0
lib/functions/cli/cli-jsoninfo.sh

@@ -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() {
 	# "gimme root on a Linux machine"
 	cli_standard_relaunch_docker_or_sudo

+ 9 - 0
lib/functions/cli/cli-oras.sh

@@ -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() {
 	: # Empty, no need to do anything.
 }

+ 9 - 0
lib/functions/cli/cli-patch.sh

@@ -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() {
 	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

+ 9 - 0
lib/functions/cli/cli-requirements.sh

@@ -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() {
 	declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
 

+ 9 - 0
lib/functions/cli/cli-undecided.sh

@@ -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() {
 	# If undecided, run the 'build' command.
 	display_alert "cli_undecided_pre_run" "func cli_undecided_pre_run go to build" "debug"

+ 9 - 0
lib/functions/cli/commands.sh

@@ -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() {
 	# 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=(

+ 9 - 0
lib/functions/cli/entrypoint.sh

@@ -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() {
 	# array, readonly, global, for future reference, "exported" to shutup shellcheck
 	declare -rg -x -a ARMBIAN_ORIGINAL_ARGV=("${@}")

+ 9 - 0
lib/functions/cli/utils-cli.sh

@@ -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
 
 # This is called like this:

+ 9 - 0
lib/functions/compilation/armbian-kernel.sh

@@ -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.
 
 # This is an internal/core extension.

+ 8 - 0
lib/functions/compilation/atf.sh

@@ -1,4 +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_atf() {
 	if [[ -n "${ATFSOURCE}" && "${ATFSOURCE}" != "none" ]]; then
 		display_alert "Downloading sources" "atf" "git"

+ 9 - 0
lib/functions/compilation/ccache.sh

@@ -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() {
 
 	display_alert "Clearing ccache statistics" "ccache" "ccache"

+ 9 - 0
lib/functions/compilation/distcc.sh

@@ -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:
 # declare -A -g DISTCC_TARGETS_HOST_PORT=()
 # declare -A -g DISTCC_TARGETS_CORES=()

+ 9 - 0
lib/functions/compilation/kernel-config.sh

@@ -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() {
 	# LINUXCONFIG is set or exit_with_error
 	[[ -z "${LINUXCONFIG}" ]] && exit_with_error "LINUXCONFIG not set: '${LINUXCONFIG}'"

+ 7 - 0
lib/functions/compilation/kernel-debs.sh

@@ -1,4 +1,11 @@
 #!/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.
 

+ 9 - 0
lib/functions/compilation/kernel-git-bundle.sh

@@ -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.
 function download_git_kernel_bundle() {
 	# See https://mirrors.edge.kernel.org/pub/scm/.bundles/pub/scm/linux/kernel/git/

+ 9 - 0
lib/functions/compilation/kernel-git-oras.sh

@@ -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.
 function kernel_prepare_bare_repo_decide_shallow_or_full() {
 	declare decision="not_yet_decided" decision_why="unknown"

+ 9 - 0
lib/functions/compilation/kernel-git.sh

@@ -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() {
 	[[ -z $KERNELSOURCE ]] && return 0 # do nothing if no kernel source... but again, why were we called then?
 

+ 7 - 0
lib/functions/compilation/kernel-make.sh

@@ -1,4 +1,11 @@
 #!/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() {
 	set -e

+ 9 - 0
lib/functions/compilation/kernel-patching.sh

@@ -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
 
 function kernel_main_patching_python() {

+ 8 - 0
lib/functions/compilation/kernel.sh

@@ -1,4 +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_kernel() {
 	declare kernel_work_dir="${SRC}/cache/sources/${LINUXSOURCEDIR}"
 	display_alert "Kernel build starting" "${LINUXSOURCEDIR}" "info"

+ 9 - 0
lib/functions/compilation/packages/armbian-config-deb.sh

@@ -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() {
 
 	declare cleanup_id="" tmp_dir=""

+ 9 - 0
lib/functions/compilation/packages/firmware-deb.sh

@@ -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() {
 	: "${artifact_version:?artifact_version is not set}"
 

+ 9 - 0
lib/functions/compilation/packages/plymouth-deb.sh

@@ -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() {
 
 	declare cleanup_id="" tmp_dir=""

+ 9 - 0
lib/functions/compilation/packages/utils-dpkgdeb.sh

@@ -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.
 function fakeroot_dpkg_deb_build() {
 	display_alert "Building .deb package" "$*" "debug"

+ 9 - 0
lib/functions/compilation/packages/zsh-deb.sh

@@ -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() {
 	declare cleanup_id="" tmp_dir=""
 	prepare_temp_dir_in_workdir_and_schedule_cleanup "deb-zsh" cleanup_id tmp_dir # namerefs

+ 9 - 0
lib/functions/compilation/patch/drivers-harness.sh

@@ -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() {
 	hash_only="yes" kernel_drivers_create_patches "${@}"
 }

+ 8 - 1
lib/functions/compilation/patch/drivers_network.sh

@@ -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() {
 	#

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.