diff mbox

[U-Boot] README.kconfig: document backward compatibility "make *_config"

Message ID 1409117120-9427-1-git-send-email-yamada.m@jp.panasonic.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Aug. 27, 2014, 5:25 a.m. UTC
Commit 3ff291f3 added "<board>_config" target for backward
compatibility.  It should be documented.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 doc/README.kconfig     | 7 +++++++
 scripts/multiconfig.sh | 1 +
 2 files changed, 8 insertions(+)

Comments

Stephen Warren Aug. 27, 2014, 4:24 p.m. UTC | #1
On 08/26/2014 11:25 PM, Masahiro Yamada wrote:
> Commit 3ff291f3 added "<board>_config" target for backward
> compatibility.  It should be documented.

Let's include both the commit hash and description here, for easy human 
reference (especially if cherry-picking happens).
Masahiro Yamada Aug. 28, 2014, 2:03 a.m. UTC | #2
Hi Stephen,


On Wed, 27 Aug 2014 10:24:38 -0600
Stephen Warren <swarren@wwwdotorg.org> wrote:

> On 08/26/2014 11:25 PM, Masahiro Yamada wrote:
> > Commit 3ff291f3 added "<board>_config" target for backward
> > compatibility.  It should be documented.
> 
> Let's include both the commit hash and description here, for easy human reference (especially if cherry-picking happens).

I've posted v2.


Best Regards
Masahiro Yamada
diff mbox

Patch

diff --git a/doc/README.kconfig b/doc/README.kconfig
index cd549a8..3aad5b4 100644
--- a/doc/README.kconfig
+++ b/doc/README.kconfig
@@ -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
 --------------------------
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 56cf0c2..4190798 100644
--- a/scripts/multiconfig.sh
+++ b/scripts/multiconfig.sh
@@ -248,6 +248,7 @@  case $target in
 *_defconfig)
 	do_board_defconfig $target;;
 *_config)
+	# backward compatibility
 	do_board_defconfig ${target%_config}_defconfig;;
 silentoldconfig)
 	do_silentoldconfig;;