mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
The execution of conftest currently relies on the GNU toolchain located in the P4ROOT path. However, since kleaf is a hermetic build, the P4ROOT environment variable is cleaned up during the kleaf setup. To address this, we create a symlink to connect the original P4ROOT path to the kleaf build path. Bug 4344670 Change-Id: I7877fd5d5543f73001dd1a017dfd0cc552802658 Signed-off-by: Jian-Min Liu <jianminl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3161994 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
17 lines
375 B
Python
17 lines
375 B
Python
# SPDX-License-Identifier: GPL-2.0-only
|
|
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
package(
|
|
default_visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
filegroup(
|
|
name = "conftest_headers",
|
|
srcs = glob(["**"],
|
|
allow_empty = False,
|
|
) + [
|
|
"//nvidia-build/kleaf:p4root_symlink",
|
|
],
|
|
)
|