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 += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 23 | bootblock-$(CONFIG_SPI_FLASH) += spi.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 |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 26 | verstage-y += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 27 | verstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 28 | |
Daisuke Nojiri | 55cb84b | 2014-12-29 16:04:23 -0800 | [diff] [blame^] | 29 | romstage-y += romstage.S |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 30 | romstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 31 | romstage-y += i2c.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 |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 34 | romstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 35 | |
| 36 | ramstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 37 | ramstage-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 38 | ramstage-y += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 39 | ramstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 40 | |
Julius Werner | 7d18663 | 2014-10-20 14:21:22 -0700 | [diff] [blame] | 41 | CPPFLAGS_common += -Isrc/soc/marvell/bg4cd/include/ |
| 42 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 43 | $(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf |
| 44 | cp $< $@ |
| 45 | |
| 46 | $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin |
| 47 | @printf "Generating: $(subst $(obj)/,,$(@))\n" |
| 48 | @mkdir -p $(dir $@) |
| 49 | @mv $< $@ |