[U-Boot] [PATCH v3 1/4] kconfig: Add API kconfig file

Emmanuel Vadot manu at bidouilliste.com
Thu Jan 26 17:46:09 CET 2017


Add kconfig file to enable API support

Signed-off-by: Emmanuel Vadot <manu at bidouilliste.com>
---
 Kconfig     | 2 ++
 api/Kconfig | 9 +++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 api/Kconfig

diff --git a/Kconfig b/Kconfig
index cb19ce6f87..2073d933d9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -307,6 +307,8 @@ config ARCH_FIXUP_FDT_MEMORY
 
 endmenu		# Boot images
 
+source "api/Kconfig"
+
 source "common/Kconfig"
 
 source "cmd/Kconfig"
diff --git a/api/Kconfig b/api/Kconfig
new file mode 100644
index 0000000000..16731d3b4b
--- /dev/null
+++ b/api/Kconfig
@@ -0,0 +1,9 @@
+menu "API"
+
+config API
+	bool "Enable U-Boot API"
+	default n
+	help
+	  This option enables the U-Boot API. See api/README for more information.
+
+endmenu
-- 
2.11.0



More information about the U-Boot mailing list