Switch canonical to vendor to keep more inline with other families

This commit is contained in:
Mecid 2025-03-28 11:38:11 +01:00 committed by Igor
parent a322285cfb
commit 5c391f0e05
6 changed files with 9 additions and 9 deletions

View File

@ -2,15 +2,15 @@
BOARD_NAME="Radxa Nio 12L" BOARD_NAME="Radxa Nio 12L"
BOARDFAMILY="genio" BOARDFAMILY="genio"
BOARD_MAINTAINER="HeyMeco" BOARD_MAINTAINER="HeyMeco"
KERNEL_TARGET="collabora,canonical" KERNEL_TARGET="collabora,vendor"
KERNEL_TEST_TARGET="collabora" KERNEL_TEST_TARGET="collabora"
BOOT_FDT_FILE="mediatek/mt8395-radxa-nio-12l.dtb" BOOT_FDT_FILE="mediatek/mt8395-radxa-nio-12l.dtb"
enable_extension "grub-with-dtb" enable_extension "grub-with-dtb"
HAS_VIDEO_OUTPUT="yes" HAS_VIDEO_OUTPUT="yes"
# Post-config function for canonical branch # Post-config function for vendor branch
function post_family_config__nio12l_canonical_setup() { function post_family_config__nio12l_vendor_setup() {
if [[ "${BRANCH}" == "canonical" ]]; then if [[ "${BRANCH}" == "vendor" ]]; then
display_alert "Setting up Genio-Firmware package for ${BOARD}" "${RELEASE}///${BOARD}" "info" display_alert "Setting up Genio-Firmware package for ${BOARD}" "${RELEASE}///${BOARD}" "info"
add_packages_to_image "linux-firmware-mediatek-genio" "ubuntu-dev-tools" "ubuntu-desktop" add_packages_to_image "linux-firmware-mediatek-genio" "ubuntu-dev-tools" "ubuntu-desktop"
fi fi

View File

@ -28,11 +28,11 @@ case $BRANCH in
declare -g INSTALL_HEADERS="yes" declare -g INSTALL_HEADERS="yes"
;; ;;
canonical) vendor)
declare -g LINUXCONFIG="linux-genio-bsp" declare -g LINUXCONFIG="linux-genio-vendor"
declare -g KERNEL_MAJOR_MINOR="5.15" declare -g KERNEL_MAJOR_MINOR="5.15"
declare -g KERNELPATCHDIR='genio-1200-bsp' declare -g KERNELPATCHDIR='genio-1200-vendor'
declare -g KERNELSOURCE='https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-mtk/+git/jammy' declare -g KERNELSOURCE='https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-mtk/+git/jammy'
declare -g KERNELBRANCH='branch:master-next' declare -g KERNELBRANCH='branch:master-next'
declare -g EXTRAWIFI="no" declare -g EXTRAWIFI="no"

View File

@ -1,9 +1,9 @@
config: config:
# Just some info stuff; not used by the patching scripts # Just some info stuff; not used by the patching scripts
name: genio-1200-bsp name: genio-1200-vendor
kind: kernel kind: kernel
type: mtk-bsp # or: vendor type: mtk-vendor
branch: mtk-v5.15-dev branch: mtk-v5.15-dev
# .dts files in these directories will be copied as-is to the build tree; later ones overwrite earlier ones. # .dts files in these directories will be copied as-is to the build tree; later ones overwrite earlier ones.