]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-bsp: pass in file object to replace_file()
authorTom Zanussi <tom.zanussi@linux.intel.com>
Fri, 29 Mar 2013 22:07:22 +0000 (17:07 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Apr 2013 21:54:24 +0000 (22:54 +0100)
Pass the file object instead of the filename to replace_file for the
custom template, as now required by replace_file().

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig

index e544a0a4a52a731966fbcfa321f02c862bad5639..ceb0ffa30c95b1bb0d589c549e4f8acef68c8e4c 100644 (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) }}