diff options
| author | Saul Wold <sgw@linux.intel.com> | 2013-08-13 11:01:50 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-13 23:06:04 +0100 |
| commit | ff10f72abda52315b892c64f711096772d9a4c1c (patch) | |
| tree | 8d1e5c7cfef362a68052658456d6905a01aca88d | |
| parent | 352701f88dd4ed5c75c4ad49e69deeedf1cec4cc (diff) | |
| download | poky-ff10f72abda52315b892c64f711096772d9a4c1c.tar.gz | |
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 merge_config.sh script will
correctly handle these CONFIG options during the do_configure task.
The merge_config.sh script uses a last-in wins method.
For more details about this, see the Kernel Development Manual Section 2.2.3
http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration
(From OE-Core rev: 57662d4f813d5795cac1529633db80a09efdb089)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta-skeleton/recipes-core/busybox/busybox/no_rfkill.cfg | 1 | ||||
| -rw-r--r-- | meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend | 12 |
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 0000000000..f840ecd26c --- /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 0000000000..64cdefc76d --- /dev/null +++ b/meta-skeleton/recipes-core/busybox/busybox_1.21.1.bbappend | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # Example use of configuration fragments for busybox, which uses the same | ||
| 2 | # mechanism as the linux-yocto kernel recipe. | ||
| 3 | # | ||
| 4 | # The entries here will override any entries in the base busybox recipe | ||
| 5 | # | ||
| 6 | # More details can be found in the Kernel Dev Manual | ||
| 7 | # http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration | ||
| 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://no_rfkill.cfg \ | ||
| 12 | " | ||
