Skip to content

Commit

Permalink
fix: improve Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicFS committed Nov 19, 2024
1 parent c38adcf commit 21ccfc8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,43 @@ tasks:
requires:
vars: [CONFIG, TARGET]

# coreboot example

build:coreboot:
desc: Build coreboot hello world example
cmds:
- task: build-template
vars:
CONFIG: coreboot-example.json
TARGET: coreboot-example
status:
- test -d output-coreboot-example

# coreboot with LinuxBoot example

build:coreboot-linuxboot:
desc: Build coreboot with linux and uroot
deps:
- task: build:linux-with-uroot
cmds:
- task: build-template
vars:
CONFIG: coreboot-linuxboot-example.json
TARGET: coreboot-example-with-linuxboot
status:
- test -d output-linuxboot-coreboot

build:linux-with-uroot:
desc: Build linux with uroot
deps:
- task: build:uroot
cmds:
- task: build-template
vars:
CONFIG: coreboot-linuxboot-example.json
TARGET: linux-example-with-uroot
status:
- test -d output-linuxboot-linux

build:uroot:
desc: Build uroot
Expand All @@ -39,6 +53,8 @@ tasks:
vars:
CONFIG: coreboot-linuxboot-example.json
TARGET: uroot-example
status:
- test -d output-linuxboot-uroot

qemu:run-coreboot:
cmds:
Expand Down

0 comments on commit 21ccfc8

Please sign in to comment.