[RFC PATCH 02/28] kbuild: allow architectures to automatically define kconfig symbols

From: Octavian Purdila
Date: Tue Nov 03 2015 - 15:23:10 EST


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 <octavian.purdila@xxxxxxxxx>
---
Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index d5b3739..668b8fe 100644
--- a/Makefile
+++ b/Makefile
@@ -554,6 +554,7 @@ endif # KBUILD_EXTMOD

ifeq ($(dot-config),1)
# Read in config
+-include arch/$(SRCARCH)/auto.conf
-include include/config/auto.conf

ifeq ($(KBUILD_EXTMOD),)
--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/