mirror of
git://nv-tegra.nvidia.com/linux/kernel-devicetree.git
synced 2025-12-22 17:26:42 +03:00
Set correct path for tegra-dtstree in ACK builds
Bug 3974840 Change-Id: I1d5b96e07396071e1d267ae4f5d767aab32b675d Signed-off-by: Bruce Xu <brucex@nvidia.com> (cherry picked from commit de06f79e350dbe169aaecdcac1a562838cd8ca92) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2910052 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Ankita Garg <ankitag@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Ankita Garg <ankitag@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
7c2b56d612
commit
439b3bb090
@@ -15,6 +15,13 @@ DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
||||
|
||||
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2
|
||||
|
||||
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||
ifneq ($(TOP),)
|
||||
SOURCE_TOP := $(TOP)
|
||||
else
|
||||
$(error TOP is not defined)
|
||||
endif
|
||||
else
|
||||
ifneq ($(TEGRA_TOP),)
|
||||
SOURCE_TOP := $(TEGRA_TOP)
|
||||
else ifneq ($(TOP),)
|
||||
@@ -22,6 +29,7 @@ SOURCE_TOP := $(TOP)
|
||||
else
|
||||
$(error TEGRA_TOP or TOP is not defined)
|
||||
endif
|
||||
endif
|
||||
|
||||
tegra-dtstree := $(SOURCE_TOP)/hardware/nvidia
|
||||
|
||||
|
||||
@@ -19,6 +19,13 @@ DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
||||
|
||||
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2
|
||||
|
||||
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||
ifneq ($(TOP),)
|
||||
SOURCE_TOP := $(TOP)
|
||||
else
|
||||
$(error TOP is not defined)
|
||||
endif
|
||||
else
|
||||
ifneq ($(TEGRA_TOP),)
|
||||
SOURCE_TOP := $(TEGRA_TOP)
|
||||
else ifneq ($(TOP),)
|
||||
@@ -26,6 +33,7 @@ SOURCE_TOP := $(TOP)
|
||||
else
|
||||
$(error TEGRA_TOP or TOP is not defined)
|
||||
endif
|
||||
endif
|
||||
|
||||
tegra-dtstree := $(SOURCE_TOP)/hardware/nvidia
|
||||
# Get relative path for tegra-dtstree from this makefile
|
||||
|
||||
Reference in New Issue
Block a user