Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright 2014 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 | ## |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 15 | |
| 16 | # Add a handler for BCT config files |
| 17 | $(call add-special-class,bct-cfg) |
| 18 | bct-cfg-handler= $(eval $(obj)/generated/bct.cfg: $(1)$(2)) |
| 19 | |
| 20 | $(obj)/generated/bct.cfg: |
| 21 | @printf " CAT $(subst $(obj)/,,$(@))\n" |
| 22 | cat $^ > $@ |
| 23 | |
| 24 | subdirs-y += bct |
| 25 | |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 26 | bootblock-y += bootblock.c |
| 27 | bootblock-y += pmic.c |
Tom Warren | bb932c5 | 2014-04-30 14:51:38 -0700 | [diff] [blame] | 28 | bootblock-y += reset.c |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 29 | |
Gabe Black | c852206 | 2014-05-06 15:44:14 -0700 | [diff] [blame] | 30 | romstage-y += reset.c |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 31 | romstage-y += romstage.c |
Tom Warren | 64982c50 | 2014-01-23 13:37:50 -0700 | [diff] [blame] | 32 | romstage-y += sdram_configs.c |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 33 | romstage-$(CONFIG_CHROMEOS) += chromeos.c |
Daisuke Nojiri | 1b05d88 | 2014-08-27 11:48:03 -0700 | [diff] [blame] | 34 | romstage-y += early_configs.c |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 35 | |
Daisuke Nojiri | 512bfbc | 2014-08-15 17:07:39 -0700 | [diff] [blame] | 36 | ramstage-y += reset.c |
Vadim Bendebury | 5e1a2d3 | 2014-07-28 16:08:34 -0700 | [diff] [blame] | 37 | ramstage-y += boardid.c |
Gabe Black | 5c8d3d2 | 2014-01-17 22:11:35 -0800 | [diff] [blame] | 38 | ramstage-y += mainboard.c |
| 39 | ramstage-$(CONFIG_CHROMEOS) += chromeos.c |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 40 | |
Stefan Reinauer | 417f16b | 2015-07-01 16:34:07 -0700 | [diff] [blame] | 41 | verstage-y += reset.c |
| 42 | verstage-$(CONFIG_CHROMEOS) += chromeos.c |
| 43 | verstage-y += early_configs.c |
| 44 | |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 45 | bootblock-y += memlayout.ld |
Stefan Reinauer | 417f16b | 2015-07-01 16:34:07 -0700 | [diff] [blame] | 46 | verstage-y += memlayout.ld |
Julius Werner | ec5e5e0 | 2014-08-20 15:29:56 -0700 | [diff] [blame] | 47 | romstage-y += memlayout.ld |
| 48 | ramstage-y += memlayout.ld |