build: fix -K

This commit is contained in:
Ciro Santilli
2018-05-15 15:03:39 +01:00
parent 0c15778e14
commit 2b2b433ade

2
build
View File

@@ -137,7 +137,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"${post_script_args}\"
fi fi
if [ -n "$linux_kernel_custom_config_file" ]; then if [ -n "$linux_kernel_custom_config_file" ]; then
if [ -f "$linux_kernel_custom_config_file" ]; then if [ -f "$linux_kernel_custom_config_file" ]; then
printf "BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"${linux_kernel_custom_config_file}\"\n" >> "$config_file" printf "BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\nBR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"${linux_kernel_custom_config_file}\"\n" >> "$config_file"
if "${linux_reconfigure}"; then if "${linux_reconfigure}"; then
touch "${linux_kernel_custom_config_file}" touch "${linux_kernel_custom_config_file}"
fi fi