nvidia-kernel-oot: Disable header-guard GCC15 warning

Warnings are treated as errors and this warning is triggered when
compiling git version of nvidia-kernel-oot module. Ignore the
warning as error for now.

Fixes errors like

nvidia-oot/drivers/net/wireless/realtek/rtl8852ce/phl/hal_g6/phy/rf/halrf_8852c/../halrf_8852c/halrf_ops_rtl8852c.h:25: error: header guard '__HALRF_OPS_RTL8852C_H__' followed by '#define' of a different macro [-Werror=header-guard]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-05-08 18:18:35 -07:00
committed by Matt Madison
parent d0e716d5a2
commit 4cca24d6b0

View File

@@ -40,7 +40,7 @@ TEGRA_OOT_REPLACEMENT_DRIVERS = "\
EXTRA_OEMAKE += '\
IGNORE_PREEMPT_RT_PRESENCE=1 KERNEL_PATH="${STAGING_KERNEL_BUILDDIR}" \
CC="${KERNEL_CC} -std=gnu17" CXX="${KERNEL_CC} -x c++" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
CC="${KERNEL_CC} -std=gnu17 -Wno-error=header-guard" CXX="${KERNEL_CC} -x c++" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
OBJCOPY="${KERNEL_OBJCOPY}" \
'