aboutsummaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-04-28 12:09:33 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-06 17:59:17 +0100
commit70b11e54ffaa87e008bee444241cddf29f92f6bb (patch)
tree6f032936c93a599fb69e823d8e048e29425cbe41 /meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
parentee4f09a8506b60470edc313511da9c0d0260856a (diff)
downloadopenembedded-core-contrib-70b11e54ffaa87e008bee444241cddf29f92f6bb.tar.gz
linux-yocto-custom: provide defconfig guidance
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> (From OE-Core rev: 2c41a28c9a9772531dcfc7079604ff2441c71f8f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb')
-rw-r--r--meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
index c3291064bb..b1a0784c1b 100644
--- a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
+++ b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
@@ -32,6 +32,16 @@
# 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"