[RFC,02/47] kbuild: allow architectures to automatically define kconfig symbols
diff mbox series

Message ID c133f9df9611b72baedd882ca63590599e0a64d2.1571798507.git.thehajime@gmail.com
State New
Headers show
Series
  • Untitled series #137944
Related show

Commit Message

Hajime Tazaki Oct. 23, 2019, 4:37 a.m. UTC
From: Octavian Purdila <tavi.purdila@gmail.com>

This patch calls an architecture hook during the kernel config process
that allows the architecture to automatically define kconfig symbols.
This can be done by exporting environment variables from the
new architecture hook.

Signed-off-by: Octavian Purdila <tavi.purdila@gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/Makefile b/Makefile
index 0cbe8717bdb3..8c1f7422d0bc 100644
--- a/Makefile
+++ b/Makefile
@@ -605,6 +605,7 @@  endif
 export KBUILD_MODULES KBUILD_BUILTIN
 
 ifeq ($(dot-config),1)
+include arch/$(SRCARCH)/auto.conf
 include include/config/auto.conf
 endif