diff --git a/build b/build index a523b17..a523461 100755 --- a/build +++ b/build @@ -114,10 +114,12 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"$post_script_args\" # http://lists.busybox.net/pipermail/buildroot/2017-August/201053.html sed -Ei 's/^BR2_PACKAGE_LINUX_TOOLS_GPIO/BR2_PACKAGE_LINUX_TOOLS_GPIO=n/' "${config_file}" fi - # TODO why is this needed. Otherwise kernel .config does not change, even though Buildroot - # .config did due to -K. even if we are running linux-kernel-reconfigure! - rm -f "${out_dir}/build/linux-custom/.config" if [ -n "$linux_kernel_custom_config_file" ]; then + # TODO why is this needed. Otherwise kernel .config does not change, even though Buildroot + # .config did due to -K. even if we are running linux-kernel-reconfigure! + # But doing this forces launches the kernel's reconfigure. Annoying. + # https://stackoverflow.com/questions/49260466/why-is-it-that-if-i-change-br2-linux-kernel-custom-config-file-and-run-linux-rec + rm -f "${out_dir}/build/linux-custom/.config" printf "BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"../${linux_kernel_custom_config_file}\"\n" >> "${config_file}" fi make O="$out_dir" olddefconfig