Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [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 | ## |
| 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 | |
| 20 | bootblock-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 21 | bootblock-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame^] | 22 | bootblock-y += media.c |
| 23 | bootblock-y += monotonic_timer.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 24 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 25 | verstage-y += i2c.c |
| 26 | verstage-y += media.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame^] | 27 | verstage-y += monotonic_timer.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 28 | |
| 29 | romstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 30 | romstage-y += i2c.c |
| 31 | romstage-y += media.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame^] | 32 | romstage-y += monotonic_timer.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 33 | romstage-y += sdram.c |
| 34 | |
| 35 | ramstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 36 | ramstage-y += i2c.c |
| 37 | ramstage-y += media.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame^] | 38 | ramstage-y += monotonic_timer.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 39 | |
| 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 $< $@ |