mk: include rom.sh directly

remove it from mkhelper files, because rom.sh doesn't
initialise any variables globally, except one that
never changes.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-02 11:20:55 +01:00
parent 1f7e4b35cb
commit 9b11e93686
6 changed files with 1 additions and 10 deletions

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
. "include/rom.sh"
makeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS"
build_depend="seabios/default grub/default memtest86plus u-boot/amd64coreboot"

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
. "include/rom.sh"
bootstrapargs="--gnulib-srcdir=gnulib/ --no-git"
autoconfargs="--with-platform=coreboot --disable-werror"
makeargs="FS_PAYLOAD_MODULES=\"\""

View File

@@ -1,5 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-or-later
. "include/rom.sh"
postmake="copyps1bios"

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
. "include/rom.sh"
sersrc="src/pico-serprog"
serx="$sersrc/build/pico_serprog.uf2"
picosdk="src/pico-sdk"

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
. "include/rom.sh"
sersrc="src/stm32-vserprog"
serx="$sersrc/stm32-vserprog.hex"
serdir="$sersrc/boards"

1
mk
View File

@@ -17,6 +17,7 @@ fi
. "include/init.sh"
. "include/inject.sh"
. "include/mrc.sh"
. "include/rom.sh"
eval "`setvars "" vdir src_dirname srcdir mode`"