Convert TARGET_TEGRA_KERNEL to TARGET_KERNEL_VERSION

There was no common kernel version flag when this was first added, now
there is. So change all references to use the common name.

Change-Id: I661d558df18e7055b2f83424c8987dfa8a83bb19
This commit is contained in:
Aaron Kling authored and Nolen Johnson committed 2025-08-26 00:06:00 -04:00
1 parent c23c4e2f4d
commit b92e042d1b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -61,10 +61,10 @@ TARGET_SCREEN_DENSITY := 186
KERNEL_TOOLCHAIN := $(shell pwd)/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-gnu-9.3/bin
KERNEL_TOOLCHAIN_PREFIX := aarch64-buildroot-linux-gnu-
TARGET_KERNEL_CLANG_COMPILE := false
TARGET_KERNEL_SOURCE := kernel/nvidia/kernel-$(TARGET_TEGRA_KERNEL)-nx
TARGET_KERNEL_SOURCE := kernel/nvidia/kernel-$(TARGET_KERNEL_VERSION)-nx
TARGET_KERNEL_CONFIG := tegra_android_defconfig
TARGET_KERNEL_ADDITIONAL_FLAGS := \
NV_BUILD_KERNEL_OPTIONS=$(TARGET_TEGRA_KERNEL) \
NV_BUILD_KERNEL_OPTIONS=$(TARGET_KERNEL_VERSION) \
HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" \
CONFIG_EXFAT_FS=m
+1 -1
View File
@@ -19,7 +19,7 @@ TARGET_TEGRA_VARIANT ?= common
TARGET_TEGRA_BT ?= bcm
TARGET_TEGRA_CEC := aosp
TARGET_TEGRA_CPL := none
TARGET_TEGRA_KERNEL ?= 4.9
TARGET_KERNEL_VERSION ?= 4.9
TARGET_TEGRA_KEYSTORE := software
TARGET_TEGRA_LIGHT ?= lineage
TARGET_TEGRA_MAN_LVL := 5