diff mbox series

[v2,6/7] scripts/kconfig/kconfig.Makefile: fix project release in defconfigs-*

Message ID 20250414-b4-autorefs-user-agent-v2-6-0398333b5676@samsung.com (mailing list archive)
State New
Headers show
Series autorefs: add kdevops User-Agent identifier | expand

Commit Message

Daniel Gomez April 14, 2025, 1:01 p.m. UTC
From: Daniel Gomez <da.gomez@samsung.com>

Add a dependency on include/config/project.release to the defconfigs-*
target to ensure that project.release is generated and release
information is included in the resulting configuration file header
(.config).

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
---
 scripts/kconfig/kconfig.Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/kconfig/kconfig.Makefile b/scripts/kconfig/kconfig.Makefile
index e227ea4233a7e790e90f38c1817c745a0c805132..5d6db4b867c5d4a0f34c6a7f60756744382565e3 100644
--- a/scripts/kconfig/kconfig.Makefile
+++ b/scripts/kconfig/kconfig.Makefile
@@ -57,7 +57,7 @@  PHONY += $(simple-targets)
 $(simple-targets): $(KCONFIG_DIR)/conf Kconfig
 	$< --$@ Kconfig
 
-defconfig-%:: $(KCONFIG_DIR)/conf Kconfig
+defconfig-%:: $(KCONFIG_DIR)/conf include/config/project.release Kconfig
 	@$< --defconfig=defconfigs/$(@:defconfig-%=%) Kconfig
 
 .PHONY: $(PHONY)