diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-12-12 22:56:35 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-13 16:54:33 +0000 |
commit | 125eb6f390b4882778f1a5179dca5f78675e19e5 (patch) | |
tree | c54bc65ece16bf5f3eb51237463034b3e7ed9ca0 /scripts/lib/bsp/substrate | |
parent | 205872b7b88f64dcb5a725e53811aedacac21da1 (diff) | |
download | poky-125eb6f390b4882778f1a5179dca5f78675e19e5.tar.gz |
yocto-bsp: add replace_file()
Add a function that can be used to replace a template file by a
user-specified file. The initial use of this capability is to allow
users-specified defconfigs.
(From meta-yocto rev: b52a22d40d4701a9515490bdd31c8d0341fb12bc)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/substrate')
-rw-r--r-- | scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig index c2745c5e1e..e544a0a4a5 100644 --- a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig | |||
@@ -2,3 +2,4 @@ | |||
2 | # Placeholder for custom default kernel configuration. yocto-bsp will | 2 | # Placeholder for custom default kernel configuration. yocto-bsp will |
3 | # replace this file with a user-specified defconfig. | 3 | # replace this file with a user-specified defconfig. |
4 | # | 4 | # |
5 | {{ if custom_kernel_defconfig: replace_file(current_file, custom_kernel_defconfig) }} | ||