diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rom.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh index 7d97e00b..58c49bb5 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -82,7 +82,9 @@ mkcorebootbin() { [ "$target" = "$tree" ] && return 0 - tmprom="$srcdir/build/coreboot.rom" + tmprom="$TMPDIR/coreboot.rom" + mv "$srcdir/build/coreboot.rom" "$tmprom" || $err "!mktmprom" + initmode="${defconfig##*/}"; displaymode="${initmode##*_}" initmode="${initmode%%_*}" [ -n "$displaymode" ] && displaymode="_$displaymode" |