summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-06 02:19:57 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-06 02:26:18 +0100
commit315d0c4572d79282fd9190510234496169bdbdaa (patch)
treeaf6dc0237e4c54d04014733d102f3cbb56533ed2 /build
parent863081c369c60fb485a95188d06f0090787dafad (diff)
mv build/fw/serprog,build/boot/roms build/firmware
./build boot roms is now: ./build firmware coreboot ./build fw serprog is now: ./build firmware serprog Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/build b/build
index 345a2202..14cac33d 100755
--- a/build
+++ b/build
@@ -77,10 +77,12 @@ execute_command()
xx_ listitems "${buildpath}/${mode}"
lbmk_exit 0
fi
- [ -f "${buildpath}/${mode}/${option}" ] || \
- fail "Invalid command. Run: ${linkpath} help"
- "${buildpath}/${mode}/${option}" $@ || \
- fail "execute_command: ${buildpath}/${mode}/${option} ${@}"
+ lbmkcmd="${buildpath}/${mode}/${option}"
+ [ "${lbmkcmd}" = "./script/build/boot/roms" ] && \
+ printf "NOTE: ./build boot roms now: ./build firmware coreboot\n" \
+ 1>&2
+ [ -f "${lbmkcmd}" ] || fail "Invalid command. Run: ${linkpath} help"
+ "${lbmkcmd}" $@ || fail "execute_command: ${lbmkcmd} ${@}"
}
usage()