2012-11-30 21:19:59 +01:00
|
|
|
#
|
|
|
|
# This file is part of the coreboot project.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2009 coresystems GmbH
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
#
|
2011-04-15 00:28:00 +02:00
|
|
|
|
2011-10-27 00:11:52 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
|
2011-04-15 00:28:00 +02:00
|
|
|
romstage-y += memset.c
|
2011-10-27 00:11:52 +02:00
|
|
|
endif
|
2011-09-16 11:18:56 +02:00
|
|
|
romstage-y += memchr.c
|
2011-10-26 01:43:34 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
|
2011-04-15 00:28:00 +02:00
|
|
|
romstage-y += memcpy.c
|
2011-10-26 01:43:34 +02:00
|
|
|
endif
|
2011-04-15 00:28:00 +02:00
|
|
|
romstage-y += memcmp.c
|
|
|
|
romstage-y += cbfs.c
|
|
|
|
romstage-y += lzma.c
|
|
|
|
#romstage-y += lzmadecode.c
|
|
|
|
romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
|
|
|
|
romstage-$(CONFIG_HAVE_ACPI_RESUME) += cbmem.c
|
|
|
|
romstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
|
2011-04-27 01:47:04 +02:00
|
|
|
romstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
|
2011-09-30 21:02:18 +02:00
|
|
|
romstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
2011-04-15 00:28:00 +02:00
|
|
|
romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
|
|
|
|
romstage-$(CONFIG_USBDEBUG) += usbdebug.c
|
2011-09-22 01:12:39 +02:00
|
|
|
romstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
2012-03-31 01:28:20 +02:00
|
|
|
romstage-y += compute_ip_checksum.c
|
|
|
|
romstage-y += memmove.c
|
2011-04-15 00:28:00 +02:00
|
|
|
|
2012-11-30 21:23:45 +01:00
|
|
|
ramstage-y += hardwaremain.c
|
|
|
|
ramstage-y += selfboot.c
|
2011-10-27 00:11:52 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += memset.c
|
2011-10-27 00:11:52 +02:00
|
|
|
endif
|
2011-09-16 11:18:56 +02:00
|
|
|
ramstage-y += memchr.c
|
2011-10-26 01:43:34 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += memcpy.c
|
2011-10-26 01:43:34 +02:00
|
|
|
endif
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += memcmp.c
|
|
|
|
ramstage-y += memmove.c
|
|
|
|
ramstage-y += malloc.c
|
2012-06-23 22:33:32 +02:00
|
|
|
smm-$(CONFIG_SMM_TSEG) += malloc.c
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += delay.c
|
|
|
|
ramstage-y += fallback_boot.c
|
|
|
|
ramstage-y += compute_ip_checksum.c
|
|
|
|
ramstage-y += version.c
|
|
|
|
ramstage-y += cbfs.c
|
|
|
|
ramstage-y += lzma.c
|
|
|
|
#ramstage-y += lzmadecode.c
|
2012-06-13 01:29:32 +02:00
|
|
|
ramstage-y += stack.c
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += gcc.c
|
2011-04-15 00:28:00 +02:00
|
|
|
ramstage-y += clog2.c
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-y += cbmem.c
|
2011-04-15 00:28:00 +02:00
|
|
|
ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
|
2011-04-27 01:47:04 +02:00
|
|
|
ramstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
|
2011-09-30 21:02:18 +02:00
|
|
|
ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
2010-09-30 18:55:02 +02:00
|
|
|
ramstage-$(CONFIG_USBDEBUG) += usbdebug.c
|
|
|
|
ramstage-$(CONFIG_BOOTSPLASH) += jpeg.c
|
2011-09-02 23:23:41 +02:00
|
|
|
ramstage-$(CONFIG_TRACE) += trace.c
|
2011-09-22 01:12:39 +02:00
|
|
|
ramstage-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
2010-02-22 05:33:13 +01:00
|
|
|
|
2012-11-16 14:50:32 +01:00
|
|
|
ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
|
2011-04-15 00:28:00 +02:00
|
|
|
|
2012-03-31 01:28:20 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMSET),y)
|
|
|
|
smm-y += memset.c
|
|
|
|
endif
|
2011-10-26 01:43:34 +02:00
|
|
|
ifneq ($(CONFIG_HAVE_ARCH_MEMCPY),y)
|
|
|
|
smm-y += memcpy.c
|
|
|
|
endif
|
2012-03-31 01:28:20 +02:00
|
|
|
smm-y += cbfs.c memcmp.c
|
2011-04-15 00:28:00 +02:00
|
|
|
smm-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c
|
2011-04-27 01:47:04 +02:00
|
|
|
smm-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem.c
|
2011-10-30 09:57:35 +01:00
|
|
|
smm-$(CONFIG_USBDEBUG) += usbdebug.c
|
2010-03-29 15:04:13 +02:00
|
|
|
|
2010-09-30 18:55:02 +02:00
|
|
|
$(obj)/lib/version.ramstage.o : $(obj)/build.h
|
2011-07-30 00:34:14 +02:00
|
|
|
|
|
|
|
OPTION_TABLE_H:=
|
|
|
|
ifeq ($(CONFIG_HAVE_OPTION_TABLE),y)
|
|
|
|
OPTION_TABLE_H:=$(obj)/option_table.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(obj)/lib/uart8250mem.smm.o : $(OPTION_TABLE_H)
|
2011-08-11 23:51:31 +02:00
|
|
|
$(obj)/lib/uart8250.smm.o : $(OPTION_TABLE_H)
|
2011-07-30 00:34:14 +02:00
|
|
|
|