2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2016 Google Inc.
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
16 cbfs-files-$(CONFIG_COREINFO_SECONDARY_PAYLOAD) += img/coreinfo
17 img/coreinfo-file := payloads/coreinfo/build/coreinfo.elf
18 img/coreinfo-type := payload
19 img/coreinfo-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
21 cbfs-files-$(CONFIG_NVRAMCUI_SECONDARY_PAYLOAD) += img/nvramcui
22 img/nvramcui-file := payloads/nvramcui/nvramcui.elf
23 img/nvramcui-type := payload
24 img/nvramcui-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG)
30 payloads/external/depthcharge \
31 payloads/external/SeaBIOS \
32 payloads/external/U-Boot \
33 payloads/external/Memtest86Plus \
34 payloads/external/iPXE \
35 payloads/external/tint \
36 payloads/external/tianocore \
37 payloads/external/GRUB2 \
38 payloads/external/LinuxBoot \
39 payloads/external/Yabits \
41 payloads/coreinfo/build/coreinfo.elf coreinfo:
42 $(MAKE) -C payloads/coreinfo defaultbuild
44 payloads/nvramcui/nvramcui.elf nvramcui:
45 $(MAKE) -C payloads/nvramcui
48 $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) clean; )
51 $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; )
53 print-repo-info-payloads:
54 -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; )
56 .PHONY: clean-payloads distclean-payloads print-repo-info-payloads nvramcui coreinfo