mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
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>
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user