Skip to content

Commit

Permalink
fix: add recursive tafkile task
Browse files Browse the repository at this point in the history
Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Nov 22, 2024
1 parent c963c2a commit 8057734
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,31 @@ tasks:
status:
- test -d output-coreboot-example

#=============================================
# Run coreboot with LinuxBoot example in QEMU
#=============================================

qemu:run-coreboot:
desc: Run the coreboot in QEMU
interactive: true
cmds:
- qemu-system-x86_64 -bios output-linuxboot-coreboot/coreboot.rom -serial stdio -M q35

#=================================
# coreboot with LinuxBoot example
#=================================

build:coreboot-linuxboot:recursive:
desc: Build coreboot with linux and uroot with recursion
cmds:
- firmware-action build --config='{{.CONFIG}}' --target='{{.TARGET}}' --recursive {{.CLI_ARGS}}
vars:
CONFIG: coreboot-linuxboot-example.json
TARGET: coreboot-example-with-linuxboot
requires:
vars: [CONFIG, TARGET]


build:coreboot-linuxboot:
desc: Build coreboot with linux and uroot
deps:
Expand Down Expand Up @@ -82,8 +103,3 @@ tasks:
generates:
- output-linuxboot-uroot/initramfs.linux_amd64.cpio

qemu:run-coreboot:
desc: Run the coreboot in QEMU
interactive: true
cmds:
- qemu-system-x86_64 -bios output-linuxboot-coreboot/coreboot.rom -serial stdio -M q35

0 comments on commit 8057734

Please sign in to comment.