[U-Boot] [PATCH v2 01/10] kconfig: add blank Kconfig files

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Sep 16 09:32:58 CEST 2014


This would be useful to start moving various config options.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 Kconfig                  | 12 +++++++++++-
 common/Kconfig           |  4 ++++
 drivers/Kconfig          | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/block/Kconfig    |  0
 drivers/core/Kconfig     |  0
 drivers/crypto/Kconfig   |  0
 drivers/dfu/Kconfig      |  0
 drivers/dma/Kconfig      |  0
 drivers/gpio/Kconfig     |  0
 drivers/hwmon/Kconfig    |  0
 drivers/i2c/Kconfig      |  0
 drivers/input/Kconfig    |  0
 drivers/misc/Kconfig     |  0
 drivers/mmc/Kconfig      |  0
 drivers/mtd/Kconfig      |  0
 drivers/net/Kconfig      |  0
 drivers/pci/Kconfig      |  0
 drivers/pcmcia/Kconfig   |  0
 drivers/power/Kconfig    |  0
 drivers/rtc/Kconfig      |  0
 drivers/serial/Kconfig   |  0
 drivers/sound/Kconfig    |  0
 drivers/spi/Kconfig      |  0
 drivers/tpm/Kconfig      |  0
 drivers/usb/Kconfig      |  0
 drivers/video/Kconfig    |  0
 drivers/watchdog/Kconfig |  0
 fs/Kconfig               | 19 ++++++++++++++++++
 fs/cramfs/Kconfig        |  0
 fs/ext4/Kconfig          |  0
 fs/fat/Kconfig           |  0
 fs/jffs2/Kconfig         |  0
 fs/reiserfs/Kconfig      |  0
 fs/ubifs/Kconfig         |  0
 lib/Kconfig              |  3 +++
 net/Kconfig              | 10 ++++++++++
 36 files changed, 98 insertions(+), 1 deletion(-)
 create mode 100644 common/Kconfig
 create mode 100644 drivers/Kconfig
 create mode 100644 drivers/block/Kconfig
 create mode 100644 drivers/core/Kconfig
 create mode 100644 drivers/crypto/Kconfig
 create mode 100644 drivers/dfu/Kconfig
 create mode 100644 drivers/dma/Kconfig
 create mode 100644 drivers/gpio/Kconfig
 create mode 100644 drivers/hwmon/Kconfig
 create mode 100644 drivers/i2c/Kconfig
 create mode 100644 drivers/input/Kconfig
 create mode 100644 drivers/misc/Kconfig
 create mode 100644 drivers/mmc/Kconfig
 create mode 100644 drivers/mtd/Kconfig
 create mode 100644 drivers/net/Kconfig
 create mode 100644 drivers/pci/Kconfig
 create mode 100644 drivers/pcmcia/Kconfig
 create mode 100644 drivers/power/Kconfig
 create mode 100644 drivers/rtc/Kconfig
 create mode 100644 drivers/serial/Kconfig
 create mode 100644 drivers/sound/Kconfig
 create mode 100644 drivers/spi/Kconfig
 create mode 100644 drivers/tpm/Kconfig
 create mode 100644 drivers/usb/Kconfig
 create mode 100644 drivers/video/Kconfig
 create mode 100644 drivers/watchdog/Kconfig
 create mode 100644 fs/Kconfig
 create mode 100644 fs/cramfs/Kconfig
 create mode 100644 fs/ext4/Kconfig
 create mode 100644 fs/fat/Kconfig
 create mode 100644 fs/jffs2/Kconfig
 create mode 100644 fs/reiserfs/Kconfig
 create mode 100644 fs/ubifs/Kconfig
 create mode 100644 lib/Kconfig
 create mode 100644 net/Kconfig

diff --git a/Kconfig b/Kconfig
index cbb691e..fc5e7cd 100644
--- a/Kconfig
+++ b/Kconfig
@@ -91,7 +91,7 @@ config SYS_EXTRA_OPTIONS
 	depends on !SPL_BUILD
 	help
 	  The old configuration infrastructure (= mkconfig + boards.cfg)
-	  provided the extra options field. It you have something like
+	  provided the extra options field. If you have something like
 	  "HAS_BAR,BAZ=64", the optional options
 	    #define CONFIG_HAS
 	    #define CONFIG_BAZ	64
@@ -103,3 +103,13 @@ config SYS_EXTRA_OPTIONS
 endmenu		# Boot images
 
 source "arch/Kconfig"
+
+source "common/Kconfig"
+
+source "net/Kconfig"
+
+source "drivers/Kconfig"
+
+source "fs/Kconfig"
+
+source "lib/Kconfig"
diff --git a/common/Kconfig b/common/Kconfig
new file mode 100644
index 0000000..5ae7190
--- /dev/null
+++ b/common/Kconfig
@@ -0,0 +1,4 @@
+menu "Command line interface"
+	depends on !SPL_BUILD
+
+endmenu
diff --git a/drivers/Kconfig b/drivers/Kconfig
new file mode 100644
index 0000000..128736d
--- /dev/null
+++ b/drivers/Kconfig
@@ -0,0 +1,51 @@
+menu "Device Drivers"
+
+source "drivers/core/Kconfig"
+
+source "drivers/pci/Kconfig"
+
+source "drivers/pcmcia/Kconfig"
+
+source "drivers/mtd/Kconfig"
+
+source "drivers/block/Kconfig"
+
+source "drivers/misc/Kconfig"
+
+source "drivers/net/Kconfig"
+
+source "drivers/input/Kconfig"
+
+source "drivers/serial/Kconfig"
+
+source "drivers/tpm/Kconfig"
+
+source "drivers/i2c/Kconfig"
+
+source "drivers/spi/Kconfig"
+
+source "drivers/gpio/Kconfig"
+
+source "drivers/power/Kconfig"
+
+source "drivers/hwmon/Kconfig"
+
+source "drivers/watchdog/Kconfig"
+
+source "drivers/video/Kconfig"
+
+source "drivers/sound/Kconfig"
+
+source "drivers/usb/Kconfig"
+
+source "drivers/dfu/Kconfig"
+
+source "drivers/mmc/Kconfig"
+
+source "drivers/rtc/Kconfig"
+
+source "drivers/dma/Kconfig"
+
+source "drivers/crypto/Kconfig"
+
+endmenu
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/Kconfig b/fs/Kconfig
new file mode 100644
index 0000000..41bb0b9
--- /dev/null
+++ b/fs/Kconfig
@@ -0,0 +1,19 @@
+#
+# File system configuration
+#
+
+menu "File systems"
+
+source "fs/ext4/Kconfig"
+
+source "fs/reiserfs/Kconfig"
+
+source "fs/fat/Kconfig"
+
+source "fs/jffs2/Kconfig"
+
+source "fs/ubifs/Kconfig"
+
+source "fs/cramfs/Kconfig"
+
+endmenu
diff --git a/fs/cramfs/Kconfig b/fs/cramfs/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/jffs2/Kconfig b/fs/jffs2/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/reiserfs/Kconfig b/fs/reiserfs/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
new file mode 100644
index 0000000..e69de29
diff --git a/lib/Kconfig b/lib/Kconfig
new file mode 100644
index 0000000..9724eb8
--- /dev/null
+++ b/lib/Kconfig
@@ -0,0 +1,3 @@
+menu "Library routines"
+
+endmenu
diff --git a/net/Kconfig b/net/Kconfig
new file mode 100644
index 0000000..22b9eaa
--- /dev/null
+++ b/net/Kconfig
@@ -0,0 +1,10 @@
+#
+# Network configuration
+#
+
+menuconfig NET
+	bool "Networking support"
+
+if NET
+
+endif   # if NET
-- 
1.9.1



More information about the U-Boot mailing list