diff --git a/script/roms b/script/roms index 6bc7b38..bc77a49 100755 --- a/script/roms +++ b/script/roms @@ -93,12 +93,13 @@ configure_target() # Override the above defaults using target.cfg eval `setcfg "$targetdir/target.cfg"` - x_ ./update trees -b coreboot $board [ -z "$tree" ] && $err "$board: tree not defined" [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1 [ "$board" = "$tree" ] && return 1 + x_ ./update trees -b coreboot $board + cbdir="src/coreboot/$tree" cbfstool="elf/cbfstool/$tree/cbfstool" [ -f "$cbfstool" ] || x_ ./update trees -b coreboot utils $tree