path: root/meta-skeleton
diff options
authorSaul Wold <>2013-08-13 11:01:50 -0700
committerRichard Purdie <>2013-08-13 23:06:04 +0100
commitff10f72abda52315b892c64f711096772d9a4c1c (patch)
tree8d1e5c7cfef362a68052658456d6905a01aca88d /meta-skeleton
parent352701f88dd4ed5c75c4ad49e69deeedf1cec4cc (diff)
meta-skeleton: Add busybox config fragment example
This shows an example of the config fragment support that both the linux-yocto and busybox recipes use. This example is specific to busybox. By adding busybox CONFIG options into a .cfg file and then adding that .cfg file to SRC_URI the script will correctly handle these CONFIG options during the do_configure task. The script uses a last-in wins method. For more details about this, see the Kernel Development Manual Section 2.2.3 (From OE-Core rev: 57662d4f813d5795cac1529633db80a09efdb089) Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta-skeleton')
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg b/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg
new file mode 100644
index 0000000..f840ecd
--- /dev/null
+++ b/meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg
@@ -0,0 +1 @@
+# CONFIG_RFKILL is not set
diff --git a/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend b/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend
new file mode 100644
index 0000000..64cdefc
--- /dev/null
+++ b/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend
@@ -0,0 +1,12 @@
+# Example use of configuration fragments for busybox, which uses the same
+# mechanism as the linux-yocto kernel recipe.
+# The entries here will override any entries in the base busybox recipe
+# More details can be found in the Kernel Dev Manual
+SRC_URI += " \
+ file://no_rfkill.cfg \
+ "
OpenPOWER on IntegriCloud