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>btrfsvols
parent
863081c369
commit
315d0c4572
10
build
10
build
|
@ -77,10 +77,12 @@ execute_command()
|
||||||
xx_ listitems "${buildpath}/${mode}"
|
xx_ listitems "${buildpath}/${mode}"
|
||||||
lbmk_exit 0
|
lbmk_exit 0
|
||||||
fi
|
fi
|
||||||
[ -f "${buildpath}/${mode}/${option}" ] || \
|
lbmkcmd="${buildpath}/${mode}/${option}"
|
||||||
fail "Invalid command. Run: ${linkpath} help"
|
[ "${lbmkcmd}" = "./script/build/boot/roms" ] && \
|
||||||
"${buildpath}/${mode}/${option}" $@ || \
|
printf "NOTE: ./build boot roms now: ./build firmware coreboot\n" \
|
||||||
fail "execute_command: ${buildpath}/${mode}/${option} ${@}"
|
1>&2
|
||||||
|
[ -f "${lbmkcmd}" ] || fail "Invalid command. Run: ${linkpath} help"
|
||||||
|
"${lbmkcmd}" $@ || fail "execute_command: ${lbmkcmd} ${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
|
|
|
@ -386,9 +386,9 @@ moverom() {
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<- EOF
|
cat <<- EOF
|
||||||
USAGE: ./build boot roms target
|
USAGE: ./build firmware coreboot target
|
||||||
To build *all* boards, do this: ./build boot roms all
|
To build *all* boards, do this: ./build firmware coreboot all
|
||||||
To list *all* boards, do this: ./build boot roms list
|
To list *all* boards, do this: ./build firmware coreboot list
|
||||||
|
|
||||||
Optional Flags:
|
Optional Flags:
|
||||||
-d: displaymode
|
-d: displaymode
|
||||||
|
@ -396,9 +396,9 @@ usage()
|
||||||
-k: keyboard layout
|
-k: keyboard layout
|
||||||
|
|
||||||
Example commands:
|
Example commands:
|
||||||
./build boot roms x60
|
./build firmware coreboot x60
|
||||||
./build boot roms x200_8mb x60
|
./build firmware coreboot x200_8mb x60
|
||||||
./build boot roms x60 -p grub -d corebootfb -k usqwerty
|
./build firmware coreboot x60 -p grub -d corebootfb -k usqwerty
|
||||||
|
|
||||||
possible values for 'target':
|
possible values for 'target':
|
||||||
$(listitems "config/coreboot")
|
$(listitems "config/coreboot")
|
|
@ -12,7 +12,7 @@ pico_sdk_dir=util-fw/rp2040/pico-sdk
|
||||||
|
|
||||||
stm32_src_dir=util-fw/stm32-vserprog
|
stm32_src_dir=util-fw/stm32-vserprog
|
||||||
|
|
||||||
usage="usage: ./build fw serprog <rp2040|stm32> [board]"
|
usage="usage: ./build firmware serprog <rp2040|stm32> [board]"
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
Loading…
Reference in New Issue