handle/make/config -m/-u: actually copy configs
they weren't being copied back, after running the make command. i overlooked this when testing in the previous optimisations, because i only tested building, not modification or updating of configs Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
3c7b09ace9
commit
436b2ccb5a
|
@ -240,6 +240,10 @@ run_make_command()
|
||||||
fi
|
fi
|
||||||
make -C "${codedir}" -j$(nproc) ${mode} || \
|
make -C "${codedir}" -j$(nproc) ${mode} || \
|
||||||
fail "run_make_command: make-all: ${codedir} (${project}/${target})"
|
fail "run_make_command: make-all: ${codedir} (${project}/${target})"
|
||||||
|
if [ "${mode}" = "oldconfig" ] || [ "${mode}" = "menuconfig" ]; then
|
||||||
|
cp "${codedir}/.config" "${config}" || \
|
||||||
|
fail "run_make: can't edit config: ${project}/${target}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_elf()
|
copy_elf()
|
||||||
|
|
Loading…
Reference in New Issue