diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-03-29 17:07:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-05 22:54:30 +0100 |
commit | 00e2984deb14cc8d3ccf7cfbbddd63934ff89954 (patch) | |
tree | ef01a7bf34e0dc58f25d1ec6014968a329dfb28d /scripts/lib/bsp/substrate | |
parent | df1ad143c3addd68b111e1544ce572c044fac1ca (diff) | |
download | poky-00e2984deb14cc8d3ccf7cfbbddd63934ff89954.tar.gz |
yocto-bsp: pass in file object to replace_file()
Pass the file object instead of the filename to replace_file for the
custom template, as now required by replace_file().
(From meta-yocto rev: 56091c019000cfe3d22ec464c596d97ae78fc619)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.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 | 2 |
1 files changed, 1 insertions, 1 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 e544a0a4a5..ceb0ffa30c 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,4 +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) }} | 5 | {{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }} |