Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2010 Google Inc. |
| 5 | ## Copyright (C) 2013-2014 Sage Electronic Engineering, LLC. |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation; version 2 of the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
| 18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | ## |
| 20 | |
| 21 | # Run an intermediate step when producing coreboot.rom |
| 22 | # that adds additional components to the final firmware |
| 23 | # image outside of CBFS |
| 24 | |
| 25 | ramstage-y += soc.c |
| 26 | ramstage-y += lpc.c |
| 27 | ramstage-y += sata.c |
| 28 | ramstage-y += reset.c |
| 29 | ramstage-y += watchdog.c |
| 30 | ramstage-y += spi.c |
| 31 | ramstage-y += smbus.c |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 32 | ramstage-y += acpi.c |
Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 33 | |
| 34 | romstage-y += early_usb.c early_smbus.c gpio.c reset.c early_spi.c early_init.c |
| 35 | romstage-y += romstage.c |
| 36 | |
| 37 | romstage-$(CONFIG_USBDEBUG) += usb_debug.c |
| 38 | ramstage-$(CONFIG_USBDEBUG) += usb_debug.c |
| 39 | |
Martin Roth | 829c41d | 2014-05-21 14:21:22 -0600 | [diff] [blame] | 40 | |
| 41 | ifeq ($(CONFIG_INCLUDE_ME),y) |
| 42 | INTERMEDIATE+=rangeley_add_descriptor |
| 43 | |
| 44 | rangeley_add_descriptor: $(obj)/coreboot.pre $(IFDTOOL) |
| 45 | printf " DD Adding Intel Firmware Descriptor\n" |
| 46 | dd if=$(call strip_quotes,$(CONFIG_ME_PATH))/descriptor.bin \ |
| 47 | of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1 |
| 48 | endif |
| 49 | |
| 50 | PHONY += rangeley_add_descriptor |