Skip to contentSkip to conversation

README.kconfig: document backward compatibility "make *_config"

PATCH New Masahiro Yamada 3 participants 3 messages Aug 28, 2014 – Aug 29, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 README.kconfig: document backward compatibility "make *_config"

Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) restored "<board>_config" target for backward compatibility. It should be documented.

---

Changes in v2:
- Update the commit description

 doc/README.kconfig     | 7 +++++++
 scripts/multiconfig.sh | 1 +
 2 files changed, 8 insertions(+)
doc/README.kconfig +7 -0
index cd549a8..3aad5b4 100644
@@ -114,6 +114,13 @@ See below for how each configuration target works in U-Boot:
   coalesced together with "<condition:>" prefix for each line as shown above.
   This file can be used as an input of "defconfig" target.
 
+- <board>_config
+
+  This does not exist in Linux's Kconfig.
+  Prior to Kconfig, in U-Boot, "make <board>_config" was used for the
+  configuration.  It is still supported for backward compatibility and
+  its behavior is the same as "make <board>_defconfig".
+
 
 Migration steps to Kconfig
 --------------------------
scripts/multiconfig.sh +1 -0
index 56cf0c2..4190798 100644
@@ -248,6 +248,7 @@ case $target in
 *_defconfig)
 	do_board_defconfig $target;;
 *_config)
+	# backward compatibility
 	do_board_defconfig ${target%_config}_defconfig;;
 silentoldconfig)
 	do_silentoldconfig;;
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 README.kconfig: document backward compatibility "make *_config"

Quoted 4 lines · Masahiro Yamada

Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) restored "<board>_config" target for backward compatibility. It should be documented.

#2 lore raw

PATCH v2 1/1 README.kconfig: document backward compatibility "make *_config"

In reply to Masahiro Yamada
Quoted 7 lines · Masahiro Yamada

Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) restored "<board>_config" target for backward compatibility. It should be documented.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140829/d3ca937f/attachment.pgp>