3 ## Copyright (C) 2016 Google Inc.
5 ## SPDX-License-Identifier: GPL-2.0-only
7 cbfs-files-$(CONFIG_COREINFO_SECONDARY_PAYLOAD) += img/coreinfo
8 img/coreinfo-file := payloads/coreinfo/build/coreinfo.elf
9 img/coreinfo-type := payload
10 img/coreinfo-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
12 cbfs-files-$(CONFIG_NVRAMCUI_SECONDARY_PAYLOAD) += img/nvramcui
13 img/nvramcui-file := payloads/nvramcui/build/nvramcui.elf
14 img/nvramcui-type := payload
15 img/nvramcui-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
21 payloads/external/depthcharge \
22 payloads/external/SeaBIOS \
23 payloads/external/U-Boot \
24 payloads/external/Memtest86Plus \
25 payloads/external/iPXE \
26 payloads/external/tint \
27 payloads/external/tianocore \
28 payloads/external/GRUB2 \
29 payloads/external/LinuxBoot \
30 payloads/external/Yabits \
34 payloads/coreinfo/build/coreinfo.elf coreinfo: export CCACHE := $(CCACHE)
35 payloads/coreinfo/build/coreinfo.elf coreinfo: force-payload
36 $(MAKE) -C payloads/coreinfo defaultbuild
38 payloads/nvramcui/build/nvramcui.elf nvramcui: export CCACHE := $(CCACHE)
39 payloads/nvramcui/build/nvramcui.elf nvramcui: force-payload
40 $(MAKE) -C payloads/nvramcui
43 $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) clean; )
46 $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; )
48 print-repo-info-payloads:
49 -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; )
51 .PHONY: force-payload coreinfo nvramcui
52 .PHONY: clean-payloads distclean-payloads print-repo-info-payloads