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 |
| 19 | |
| 20 | payloads/coreinfo/build/coreinfo.elf coreinfo: |
| 21 | $(MAKE) -C payloads/coreinfo defaultbuild |
Martin Roth | 6797557 | 2016-03-07 16:38:52 -0700 | [diff] [blame] | 22 | |
| 23 | clean-payloads: |
| 24 | $(MAKE) -C payloads/coreinfo clean |
| 25 | $(MAKE) -C payloads/libpayload clean |
| 26 | $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc clean |
| 27 | $(MAKE) -C payloads/external/U-Boot -f Makefile.inc clean |
| 28 | $(MAKE) -C payloads/external/Memtest86Plus -f Makefile.inc clean |
| 29 | |
| 30 | |
| 31 | distclean-payloads: |
| 32 | $(MAKE) -C payloads/coreinfo distclean |
| 33 | $(MAKE) -C payloads/libpayload distclean |
| 34 | $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc distclean |
| 35 | $(MAKE) -C payloads/external/U-Boot -f Makefile.inc distclean |
| 36 | $(MAKE) -C payloads/external/Memtest86Plus -f Makefile.inc distclean |
| 37 | |
| 38 | .phony: clean-payloads distclean-payloads |