From 991868b8d74fa77968237c42628d8110c4dcb1c2 Mon Sep 17 00:00:00 2001 From: Brad Griffis Date: Thu, 31 Jul 2025 01:30:25 +0000 Subject: [PATCH] build: print configs being used Print critical variables kernel_name and system_type. Print any config files being included in the build. Bug 5413835 Change-Id: Ie2b59d333f1625ba63dd5f86044534bcba45dd69 Signed-off-by: Brad Griffis Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3420648 GVS: buildbot_gerritrpt Reviewed-by: Jon Hunter Reviewed-by: Laxman Dewangan --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 39ba519b..14af8aaa 100644 --- a/Makefile +++ b/Makefile @@ -7,18 +7,25 @@ ifeq ($(CONFIG_TEGRA_KLEAF_BUILD),y) include $(this_makefile_path)/Makefile.kleaf endif +$(info ) # blank line +$(info === nvidia-oot config variables) + # Include kernel specific config +$(info kernel_name = $(kernel_name)) ifneq ($(kernel_name),) kernel_config := $(this_makefile_path)/configs/Makefile.config.$(kernel_name) ifneq ($(wildcard $(kernel_config)),) +$(info kernel_config = $(kernel_config)) include $(kernel_config) endif endif # Include system specific config +$(info system_type = $(system_type)) ifneq ($(system_type),) system_config := $(this_makefile_path)/configs/Makefile.config.$(system_type) ifneq ($(wildcard $(system_config)),) +$(info system_config = $(system_config)) include $(system_config) endif endif