tegra: hwpm: os: linux: add explicit CONFTEST flag

CONFTEST is NVIDIA internal and not available when
building HWPM driver locally without NVIDIA build
system. This patch introduces a new explicit config
to enable/disable reference to CONFTEST.

Bug 5120925

Change-Id: I669855f04186041661362cd578514b887128ef44
Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3307050
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Yifei Wan <ywan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Vasuki Shankar <vasukis@nvidia.com>
This commit is contained in:
Besar Wicaksono
2025-02-20 18:14:54 +00:00
committed by mobile promotions
parent 547508653d
commit c39de268c9
4 changed files with 8 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
#ifndef TEGRA_HWPM_OS_LINUX_MEM_MGMT_UTILS_H
#define TEGRA_HWPM_OS_LINUX_MEM_MGMT_UTILS_H
#ifdef CONFIG_TEGRA_HWPM_OOT
#if defined(CONFIG_TEGRA_HWPM_CONFTEST) && defined(CONFIG_TEGRA_HWPM_OOT)
#include <nvidia/conftest.h>
#endif