Skip to content

Commit

Permalink
BSP: store kernel and kernel test target definition to /etc/armbian-r…
Browse files Browse the repository at this point in the history
…elease to be used in armbian-config

Kernel switching will be allowed only between kernels defined here.
  • Loading branch information
igorpecovnik committed Sep 29, 2024
1 parent b24758b commit 89476e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/functions/artifacts/artifact-armbian-bsp-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ function artifact_armbian-bsp-cli_prepare_version() {
"KERNEL_IMAGE_TYPE: ${KERNEL_IMAGE_TYPE}" # /etc/armbian-release
"VENDOR: ${VENDOR}" # /etc/armbian-release
"OVERLAYDIR: ${OVERLAYDIR}" # /etc/armbian-release
"KERNEL_TARGET: ${KERNEL_TARGET}" # /etc/armbian-release
"KERNEL_TEST_TARGET: ${KERNEL_TEST_TARGET}" # /etc/armbian-release
"BOOT_SOC: ${BOOT_SOC}" # /etc/armbian-release # See https://github.com/armbian/build/pull/6411
"hash_vars_no_normalize: ${hash_vars_no_normalize}" # The non-normalized part, above
)
Expand Down
2 changes: 2 additions & 0 deletions lib/functions/bsp/armbian-bsp-cli-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ function compile_armbian-bsp-cli() {
BOARD_TYPE=$BOARD_TYPE
INITRD_ARCH=$INITRD_ARCH
KERNEL_IMAGE_TYPE=$KERNEL_IMAGE_TYPE
KERNEL_TARGET=$KERNEL_TARGET
KERNEL_TEST_TARGET=$KERNEL_TEST_TARGET
FORCE_BOOTSCRIPT_UPDATE=$FORCE_BOOTSCRIPT_UPDATE
FORCE_UBOOT_UPDATE=$FORCE_UBOOT_UPDATE
OVERLAYDIR="$OVERLAYDIR"
Expand Down

0 comments on commit 89476e8

Please sign in to comment.