#109 Resolve occasional seabios build race by performing silentoldconfig in advance

Merged
vimuser merged 1 commits from xloem/seabios-race into libreboot/master 2 years ago
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/scripts/build/payload/seabios

+ 2 - 0
resources/scripts/build/payload/seabios

@@ -40,6 +40,7 @@ cd seabios/
 # for libgfxinit setup:
 [[ -f Makefile ]] && make distclean
 cp ../resources/seabios/config/libgfxinit .config
+make silentoldconfig -j$(nproc)
 make -j$(nproc)
 mv out/bios.bin.elf ../payload/seabios/seabios_libgfxinit.elf
 mv out/vgabios.bin ../payload/seabios/seavgabios.bin
@@ -48,6 +49,7 @@ rm .config
 # for vgarom setup:
 [[ -f Makefile ]] && make distclean
 cp ../resources/seabios/config/vgarom .config
+make silentoldconfig -j$(nproc)
 make -j$(nproc)
 mv out/bios.bin.elf ../payload/seabios/seabios_vgarom.elf
 rm .config