mirror of
git://nv-tegra.nvidia.com/linux/kernel-devicetree.git
synced 2025-12-22 17:26:42 +03:00
device-tree: generic: Fix issue in use of objtree
Fix issue in building the DTBs when KERNEL_OUTPUT and KERNEL_HEADERS are specified as different directories in the OOT modules' Makefile. In that case, srctree is set to KERNEL_HEADERS and objtree is set to KERNEL_OUTPUT, and device-tree Makefile should be able to handle the case when srctree and objtree are specified as different directories. Bug 4295120 Change-Id: I164288e957f791d8e8072926743d0a80e23da9cb Signed-off-by: Paritosh Dixit <paritoshd@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3033099 Reviewed-by: svc-sw-mobile-l4t <svc-sw-mobile-l4t@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
ccfbeb3f81
commit
19952c8e25
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
# SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
objtree = $(srctree)
|
objtree ?= $(srctree)
|
||||||
|
|
||||||
# Redefine the fixdep command
|
# Redefine the fixdep command
|
||||||
cmd_and_fixdep = \
|
cmd_and_fixdep = \
|
||||||
|
|||||||
Reference in New Issue
Block a user