mirror of
git://nv-tegra.nvidia.com/linux/kernel-devicetree.git
synced 2025-12-22 17:26:42 +03:00
device-tree: generic-dts: Set correct LINUX_VERSION
For generic-dts, LINUX_VERSION is hardcoded to be 5.15. This is used by kstable as well where kernel version is 6.0. Fix this by setting appropriate LINUX_VERSION based on kernel build options. Bug 3931063 Change-Id: I478ce03b40ff57b9839ae9d3168825b3c917196b Signed-off-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2840518 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
07e4219bab
commit
3052d420c3
@@ -13,7 +13,11 @@ include $(oottree)/scripts/Makefile.lib
|
|||||||
|
|
||||||
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
||||||
|
|
||||||
|
ifneq ($(findstring oot,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||||
DTC_CPP_FLAGS += -DLINUX_VERSION=515 -DTEGRA_HOST1X_DT_VERSION=2
|
DTC_CPP_FLAGS += -DLINUX_VERSION=515 -DTEGRA_HOST1X_DT_VERSION=2
|
||||||
|
else
|
||||||
|
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(TEGRA_TOP),)
|
ifneq ($(TEGRA_TOP),)
|
||||||
SOURCE_TOP := $(TEGRA_TOP)
|
SOURCE_TOP := $(TEGRA_TOP)
|
||||||
|
|||||||
Reference in New Issue
Block a user