]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto-custom: provide defconfig guidance
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 28 Apr 2014 16:09:33 +0000 (12:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 May 2014 16:59:07 +0000 (17:59 +0100)
As reported by Andrea, defconfigs created with savedefconfig should specify
their expansion mode as "--alldefconfig' for custom yocto recipes. To ensure
that this is documented, we can add a comment in the skeleton recipe.

Reported-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb

index c3291064bb1580905e98aa91dc639125e3c8f8ba..b1a0784c1b7db5d048be2a41599194de2bc4b342 100644 (file)
 #   patches: patches can be merged into to the source git tree itself,
 #            added via the SRC_URI, or controlled via a BSP
 #            configuration.
+#
+#   defconfig: When a defconfig is provided, the linux-yocto configuration
+#              uses the filename as a trigger to use a 'allnoconfig' baseline
+#              before merging the defconfig into the build. 
+#
+#              If the defconfig file was created with make_savedefconfig, 
+#              not all options are specified, and should be restored with their
+#              defaults, not set to 'n'. To properly expand a defconfig like
+#              this, specify: KCONFIG_MODE="--alldefconfig" in the kernel
+#              recipe.
 #   
 #   example configuration addition:
 #            SRC_URI += "file://smp.cfg"