-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
62 lines (53 loc) · 1.58 KB
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
version: '3'
vars:
FIRMWARE_ACTION_CONFIG_FILE: 'coreboot-linuxboot-example.json'
tasks:
build-template:
internal: true
cmds:
- firmware-action build --config='{{.CONFIG}}' --target='{{.TARGET}}' --recursive {{.CLI_ARGS}}
requires:
vars: [CONFIG, TARGET]
#==================
# coreboot example
#==================
build:coreboot-plain:
desc: Build coreboot hello world example
cmds:
- task: build-template
vars:
CONFIG: coreboot-example.json
TARGET: coreboot-example
#=======================================
# coreboot with Linux and uroot example
#=======================================
build:coreboot-linux:
desc: Build coreboot hello world example
cmds:
- task: build-template
vars:
CONFIG: '{{.FIRMWARE_ACTION_CONFIG_FILE}}'
TARGET: coreboot-example-with-linuxboot
build:linux-with-uroot:
desc: Build linux with uroot
cmds:
- task: build-template
vars:
CONFIG: '{{.FIRMWARE_ACTION_CONFIG_FILE}}'
TARGET: linux-example-with-uroot
build:uroot:
desc: Build uroot
cmds:
- task: build-template
vars:
CONFIG: '{{.FIRMWARE_ACTION_CONFIG_FILE}}'
TARGET: uroot-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