-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrootfs.mk
36 lines (31 loc) · 1.22 KB
/
rootfs.mk
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
ifeq ($(ARCH),x86_64)
GOARCH := amd64
endif
rootfs-$(ARCH).cpio: go/bin/u-root $(wildcard cmd/*/*.go)
go/bin/u-root \
-o "$(@)" \
-build=gbb \
-initcmd pbainit \
github.com/u-root/u-root/cmds/boot/* \
github.com/u-root/u-root/cmds/core/* \
github.com/u-root/u-root/cmds/exp/dmidecode \
github.com/u-root/u-root/cmds/exp/page \
github.com/u-root/u-root/cmds/exp/partprobe \
github.com/elastx/elx-pba/cmd/pbainit \
github.com/open-source-firmware/go-tcg-storage/cmd/sedlockctl
# github.com/open-source-firmware/go-tcg-storage/cmd/tcgdiskstat \
# github.com/open-source-firmware/go-tcg-storage/cmd/tcgsdiag
rootfs-interactive-$(ARCH).cpio: go/bin/u-root $(wildcard cmd/*/*.go)
go/bin/u-root \
-o "$(@)" \
-build=gbb \
-initcmd pbainit-interactive \
github.com/u-root/u-root/cmds/boot/* \
github.com/u-root/u-root/cmds/core/* \
github.com/u-root/u-root/cmds/exp/dmidecode \
github.com/u-root/u-root/cmds/exp/page \
github.com/u-root/u-root/cmds/exp/partprobe \
github.com/elastx/elx-pba/cmd/pbainit-interactive \
github.com/open-source-firmware/go-tcg-storage/cmd/sedlockctl
# github.com/open-source-firmware/go-tcg-storage/cmd/tcgdiskstat \
# github.com/open-source-firmware/go-tcg-storage/cmd/tcgsdiag