Martin Roth | 4351ace | 2016-02-16 19:40:47 -0700 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2016 Google Inc. |
| 5 | ## |
| 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. |
| 9 | ## |
| 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. |
| 14 | ## |
| 15 | |
| 16 | cbfs-files-$(CONFIG_COREINFO_SECONDARY_PAYLOAD) += img/coreinfo |
| 17 | img/coreinfo-file := payloads/coreinfo/build/coreinfo.elf |
| 18 | img/coreinfo-type := payload |
Arthur Heymans | 47dd96d | 2018-02-07 13:01:43 +0100 | [diff] [blame] | 19 | img/coreinfo-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) |
Martin Roth | 4351ace | 2016-02-16 19:40:47 -0700 | [diff] [blame] | 20 | |
Iru Cai | 736aa74 | 2016-04-15 15:48:14 +0800 | [diff] [blame] | 21 | cbfs-files-$(CONFIG_NVRAMCUI_SECONDARY_PAYLOAD) += img/nvramcui |
| 22 | img/nvramcui-file := payloads/nvramcui/nvramcui.elf |
| 23 | img/nvramcui-type := payload |
Arthur Heymans | 47dd96d | 2018-02-07 13:01:43 +0100 | [diff] [blame] | 24 | img/nvramcui-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) |
Iru Cai | 736aa74 | 2016-04-15 15:48:14 +0800 | [diff] [blame] | 25 | |
Martin Roth | e68a438 | 2016-03-16 10:45:35 -0600 | [diff] [blame] | 26 | PAYLOADS_LIST=\ |
| 27 | payloads/coreinfo \ |
Iru Cai | 736aa74 | 2016-04-15 15:48:14 +0800 | [diff] [blame] | 28 | payloads/nvramcui \ |
Martin Roth | e68a438 | 2016-03-16 10:45:35 -0600 | [diff] [blame] | 29 | payloads/libpayload \ |
| 30 | payloads/external/depthcharge \ |
| 31 | payloads/external/SeaBIOS \ |
| 32 | payloads/external/U-Boot \ |
Martin Roth | 888a98b | 2016-03-13 13:00:43 -0600 | [diff] [blame] | 33 | payloads/external/Memtest86Plus \ |
Antonello Dettori | 4f7d329 | 2016-05-27 23:44:47 +0200 | [diff] [blame] | 34 | payloads/external/iPXE \ |
Martin Roth | 4769cc3 | 2016-06-02 16:42:29 -0600 | [diff] [blame] | 35 | payloads/external/tint \ |
Nico Huber | 40b2ae3 | 2017-08-14 02:01:22 +0200 | [diff] [blame] | 36 | payloads/external/tianocore \ |
| 37 | payloads/external/GRUB2 \ |
Martin Roth | e68a438 | 2016-03-16 10:45:35 -0600 | [diff] [blame] | 38 | |
Martin Roth | 4351ace | 2016-02-16 19:40:47 -0700 | [diff] [blame] | 39 | payloads/coreinfo/build/coreinfo.elf coreinfo: |
| 40 | $(MAKE) -C payloads/coreinfo defaultbuild |
Martin Roth | 6797557 | 2016-03-07 16:38:52 -0700 | [diff] [blame] | 41 | |
Martin Roth | 3383a25 | 2016-04-23 17:12:28 -0600 | [diff] [blame] | 42 | payloads/nvramcui/nvramcui.elf nvramcui: |
Iru Cai | 736aa74 | 2016-04-15 15:48:14 +0800 | [diff] [blame] | 43 | $(MAKE) -C payloads/nvramcui |
| 44 | |
Martin Roth | 6797557 | 2016-03-07 16:38:52 -0700 | [diff] [blame] | 45 | clean-payloads: |
Martin Roth | e68a438 | 2016-03-16 10:45:35 -0600 | [diff] [blame] | 46 | $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) clean; ) |
Martin Roth | 6797557 | 2016-03-07 16:38:52 -0700 | [diff] [blame] | 47 | |
| 48 | distclean-payloads: |
Martin Roth | e68a438 | 2016-03-16 10:45:35 -0600 | [diff] [blame] | 49 | $(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; ) |
Martin Roth | 6797557 | 2016-03-07 16:38:52 -0700 | [diff] [blame] | 50 | |
Martin Roth | ae269c0 | 2016-03-16 12:42:05 -0600 | [diff] [blame] | 51 | print-repo-info-payloads: |
| 52 | -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; ) |
| 53 | |
Martin Roth | 3383a25 | 2016-04-23 17:12:28 -0600 | [diff] [blame] | 54 | .PHONY: clean-payloads distclean-payloads print-repo-info-payloads nvramcui coreinfo |