diff --git a/openwrtbuilder b/openwrtbuilder index cfc771a..7bc62aa 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -636,7 +636,8 @@ from_source() { done # Serial make prep is more reliable - execute bash -c "yes '' | make ${make_opts[*]} -j1 olddefconfig" + execute make "${make_opts[@]}" "-j1" defconfig + execute bash -c "yes '' | make ${make_opts[*]} -j1 oldconfig" # make_opts+=("-j$(($(nproc)-2))") ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))")