summaryrefslogtreecommitdiff
path: root/resources/scripts/build/boot
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-24 23:28:41 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-24 23:28:41 +0100
commit1deb5843eb03fc84e26bd948920935c2597af91d (patch)
tree72ba3dfb9e020b044265a19d80c5dc335fddf8bd /resources/scripts/build/boot
parent941fbcbf1b070c5e82c8590e6a4f1afcc0da78a4 (diff)
build/roms: distclean coreboot before each build
don't clean it, distclean it Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/boot')
-rwxr-xr-xresources/scripts/build/boot/roms_helper3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index b6051880..039d6f8e 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -248,6 +248,7 @@ build_dependencies()
build_dependency_crossgcc()
{
+ make distclean -C "${cbdir}"
if [ "${arch}" = "x86_32" ] || [ "${arch}" = "x86_64" ]; then
if [ ! -d "${cbdir}/util/crossgcc/xgcc/i386-elf/" ]; then
# Even for 64-bit machines, coreboot builds 32-bit ROM
@@ -490,7 +491,7 @@ mkCoreboot()
if [ -f "${cbfstool}" ]; then
mv "${cbfstool}" "${cbdir}/cbfstool"
fi
- make clean -BC "${cbdir}"
+ make distclean -BC "${cbdir}"
if [ -f "${cbdir}/cbfstool" ]; then
mv "${cbdir}/cbfstool" "${cbfstool}"