build: fix f unbound

This commit is contained in:
Ciro Santilli
2018-03-25 11:31:48 +01:00
parent cf840529fc
commit 233e0b485c

3
build
View File

@@ -139,7 +139,8 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"$post_script_args\"
exit 1
fi
else
printf "BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES=\"../kernel_config_fragment\"\n" >> "${config_file}"
f=../kernel_config_fragment
printf "BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES=\"${f}\"\n" >> "${config_file}"
if "${linux_reconfigure}"; then
# https://stackoverflow.com/questions/49260466/why-when-i-change-br2-linux-kernel-custom-config-file-and-run-make-linux-reconfi
touch "$f"