blob: 1f1fa03f6c08f8817a03ab7163063b9e07d5728f [file] [log] [blame]
Furquan Shaikh5c4a5102014-04-28 16:44:21 -07001##
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##
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070015
Furquan Shaikhd6ba1542014-06-09 13:22:07 -070016# Add a handler for BCT config files
17$(call add-special-class,bct-cfg)
18bct-cfg-handler= $(eval $(obj)/generated/bct.cfg: $(1)$(2))
19
20$(obj)/generated/bct.cfg:
21 @printf " CAT $(subst $(obj)/,,$(@))\n"
22 cat $^ > $@
23
24subdirs-y += bct
25
Furquan Shaikh84bbab92014-06-24 17:38:03 -070026bootblock-y += bootblock.c
27bootblock-y += pmic.c
28bootblock-y += reset.c
29
Furquan Shaikh74d3b3a2014-10-04 17:05:50 -070030verstage-y += verstage.c
31verstage-y += chromeos.c
32verstage-y += reset.c
33
Aaron Durbin5626d8f2014-07-10 12:50:27 -050034romstage-y += romstage.c
Furquan Shaikh650d11c2014-06-26 14:24:42 -070035romstage-y += sdram_configs.c
Furquan Shaikh64352a72014-07-23 13:46:13 -070036romstage-$(CONFIG_CHROMEOS) += chromeos.c
Aaron Durbin44e5e4c2014-08-05 13:30:38 -050037romstage-y += reset.c
Furquan Shaikh5c4a5102014-04-28 16:44:21 -070038
Vadim Bendebury5e1a2d32014-07-28 16:08:34 -070039ramstage-y += boardid.c
Aaron Durbin1ac4e592014-06-27 16:43:59 -050040ramstage-y += mainboard.c
Aaron Durbin44e5e4c2014-08-05 13:30:38 -050041ramstage-y += reset.c
Furquan Shaikh64352a72014-07-23 13:46:13 -070042ramstage-$(CONFIG_CHROMEOS) += chromeos.c
Julius Wernerec5e5e02014-08-20 15:29:56 -070043
44bootblock-y += memlayout.ld
45romstage-y += memlayout.ld
46ramstage-y += memlayout.ld
Furquan Shaikh74d3b3a2014-10-04 17:05:50 -070047verstage-y += memlayout.ld