blob: 7d49486254ef3a5c438684880e845ae4c40bc053 [file] [log] [blame]
Daisuke Nojiri3df01262014-10-08 11:38:52 -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##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18##
19
20bootblock-y += cbmem.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070021bootblock-y += i2c.c
Vadim Bendebury771819a2014-10-15 18:19:03 -070022bootblock-y += media.c
23bootblock-y += monotonic_timer.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070024
Daisuke Nojiri3df01262014-10-08 11:38:52 -070025verstage-y += i2c.c
26verstage-y += media.c
Vadim Bendebury771819a2014-10-15 18:19:03 -070027verstage-y += monotonic_timer.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070028
29romstage-y += cbmem.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070030romstage-y += i2c.c
31romstage-y += media.c
Vadim Bendebury771819a2014-10-15 18:19:03 -070032romstage-y += monotonic_timer.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070033romstage-y += sdram.c
34
35ramstage-y += cbmem.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070036ramstage-y += i2c.c
37ramstage-y += media.c
Vadim Bendebury771819a2014-10-15 18:19:03 -070038ramstage-y += monotonic_timer.c
Daisuke Nojiri3df01262014-10-08 11:38:52 -070039
40$(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf
41 cp $< $@
42
43$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
44 @printf "Generating: $(subst $(obj)/,,$(@))\n"
45 @mkdir -p $(dir $@)
46 @mv $< $@