summaryrefslogtreecommitdiff
path: root/tools/buildman/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-14 00:25:53 +0300
committerSimon Glass <sjg@chromium.org>2016-12-02 20:37:47 +0300
commitb464f8e7ded33dc3f3c26dd905e1fa9807dd7526 (patch)
treea5de172890a37ff9d53ad5378aa44bebb45e966e /tools/buildman/README
parent94d2ebe5bcbbbd15e879ee2204e037f321d66b68 (diff)
downloadu-boot-b464f8e7ded33dc3f3c26dd905e1fa9807dd7526.tar.xz
buildman: Squash useless output from -K
When using #define CONFIG_SOME_OPTION, the value it set to '1'. When using defconfig (i.e. CONFIG_SOME_OPTION=y) the value is set to 'y'. This results in differences showing up with -K. These differences are seldom useful. Adjust buildman to suppress these differences by default. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/README')
-rw-r--r--tools/buildman/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/buildman/README b/tools/buildman/README
index 89df94db73..62ab7b7441 100644
--- a/tools/buildman/README
+++ b/tools/buildman/README
@@ -1004,6 +1004,18 @@ configuration you can in fact avoid doing a full build, using -D. This tells
buildman to configuration U-Boot and create the .cfg files, but not actually
build the source. This is 5-10 times faster than doing a full build.
+By default buildman considers the follow two configuration methods
+equivalent:
+
+ #define CONFIG_SOME_OPTION
+
+ CONFIG_SOME_OPTION=y
+
+The former would appear in a header filer and the latter in a defconfig
+file. The achieve this, buildman considers 'y' to be '1' in configuration
+variables. This avoids lots of useless output when converting a CONFIG
+option to Kconfig. To disable this behaviour, use --squash-config-y.
+
Other options
=============