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>
This commit is contained in:
Tom Zanussi
2013-03-29 17:07:22 -05:00
committed by Richard Purdie
parent df1ad143c3
commit 00e2984deb

View File

@@ -2,4 +2,4 @@
# Placeholder for custom default kernel configuration. yocto-bsp will
# replace this file with a user-specified defconfig.
#
{{ if custom_kernel_defconfig: replace_file(current_file, custom_kernel_defconfig) }}
{{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }}