Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | ####################################################################### |
| 2 | # Take care of subdirectories |
| 3 | subdirs-y += boot |
Stefan Reinauer | e377857 | 2010-01-30 09:47:18 +0000 | [diff] [blame] | 4 | # subdirs-y += init |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 5 | subdirs-y += lib |
| 6 | subdirs-y += smp |
| 7 | |
Uwe Hermann | f8f5b62 | 2009-08-25 12:18:05 +0000 | [diff] [blame] | 8 | obj-$(CONFIG_HAVE_OPTION_TABLE) += ../../option_table.o |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 9 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 10 | ####################################################################### |
| 11 | # Build the final rom image |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 12 | COREBOOT_ROM_DEPENDENCIES:= |
| 13 | ifneq ($(CONFIG_PAYLOAD_NONE),y) |
| 14 | COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_PAYLOAD_FILE) |
Peter Stuge | 87f9514 | 2009-10-23 12:14:15 +0000 | [diff] [blame] | 15 | endif |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 16 | ifeq ($(CONFIG_VGA_BIOS),y) |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 17 | COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_VGA_BIOS_FILE) |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 18 | endif |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 19 | ifeq ($(CONFIG_INTEL_MBI),y) |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 20 | COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_MBI_FILE) |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 21 | endif |
| 22 | ifeq ($(CONFIG_BOOTSPLASH),y) |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 23 | COREBOOT_ROM_DEPENDENCIES+=$(CONFIG_FALLBACK_BOOTSPLASH_FILE) |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 24 | endif |
Stefan Reinauer | cca6268 | 2010-03-30 21:52:05 +0000 | [diff] [blame] | 25 | ifeq ($(CONFIG_AP_CODE_IN_CAR),y) |
| 26 | COREBOOT_ROM_DEPENDENCIES+=$(obj)/coreboot_ap |
| 27 | endif |
| 28 | |
Patrick Georgi | a84e98b | 2010-03-16 19:01:32 +0000 | [diff] [blame] | 29 | $(obj)/coreboot.rom: $(obj)/coreboot.pre $(obj)/coreboot_ram $(CBFSTOOL) $(call strip_quotes,$(COREBOOT_ROM_DEPENDENCIES)) |
Stefan Reinauer | 6bee951 | 2010-03-24 15:51:48 +0000 | [diff] [blame] | 30 | printf " CBFS $(subst $(obj)/,,$(@))\n" |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 31 | cp $(obj)/coreboot.pre $@.tmp |
Stefan Reinauer | cca6268 | 2010-03-30 21:52:05 +0000 | [diff] [blame] | 32 | if [ -f $(obj)/coreboot_ap ]; \ |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 33 | then \ |
Stefan Reinauer | cca6268 | 2010-03-30 21:52:05 +0000 | [diff] [blame] | 34 | $(CBFSTOOL) $@.tmp add-stage $(obj)/coreboot_ap $(CONFIG_CBFS_PREFIX)/coreboot_ap $(CBFS_COMPRESS_FLAG); \ |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 35 | fi |
| 36 | $(CBFSTOOL) $@.tmp add-stage $(obj)/coreboot_ram $(CONFIG_CBFS_PREFIX)/coreboot_ram $(CBFS_COMPRESS_FLAG) |
| 37 | ifeq ($(CONFIG_PAYLOAD_NONE),y) |
Stefan Reinauer | f358c0c | 2010-04-09 13:49:48 +0000 | [diff] [blame] | 38 | printf " PAYLOAD \e[1;31mnone (as specified by user)\e[0m\n" |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 39 | else |
Stefan Reinauer | 314e551 | 2010-04-09 20:36:29 +0000 | [diff] [blame] | 40 | printf " PAYLOAD $(CONFIG_FALLBACK_PAYLOAD_FILE) (compression: $(CBFS_PAYLOAD_COMPRESS_NAME))\n" |
Patrick Georgi | 182b09e | 2010-03-16 16:59:03 +0000 | [diff] [blame] | 41 | $(CBFSTOOL) $@.tmp add-payload $(CONFIG_FALLBACK_PAYLOAD_FILE) $(CONFIG_CBFS_PREFIX)/payload $(CBFS_PAYLOAD_COMPRESS_FLAG) |
| 42 | endif |
| 43 | ifeq ($(CONFIG_VGA_BIOS),y) |
| 44 | printf " VGABIOS $(CONFIG_FALLBACK_VGA_BIOS_FILE) $(CONFIG_FALLBACK_VGA_BIOS_ID)\n" |
| 45 | $(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_VGA_BIOS_FILE) "pci$(CONFIG_FALLBACK_VGA_BIOS_ID).rom" optionrom |
| 46 | endif |
| 47 | ifeq ($(CONFIG_INTEL_MBI),y) |
| 48 | printf " MBI $(CONFIG_FALLBACK_MBI_FILE)\n" |
| 49 | $(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_MBI_FILE) mbi.bin mbi |
| 50 | endif |
| 51 | ifeq ($(CONFIG_BOOTSPLASH),y) |
| 52 | printf " BOOTSPLASH $(CONFIG_FALLBACK_BOOTSPLASH_FILE)\n" |
| 53 | $(CBFSTOOL) $@.tmp add $(CONFIG_FALLBACK_BOOTSPLASH_FILE) bootsplash.jpg bootsplash |
| 54 | endif |
| 55 | mv $@.tmp $@ |
| 56 | printf " CBFSPRINT $(subst $(obj)/,,$(@))\n\n" |
| 57 | $(CBFSTOOL) $@ print |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 58 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 59 | ####################################################################### |
| 60 | # i386 specific tools |
| 61 | |
Patrick Georgi patrick.georgi | c5f773d | 2010-03-16 12:01:13 +0000 | [diff] [blame] | 62 | $(obj)/option_table.h $(obj)/option_table.c: $(obj)/build_opt_tbl $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.layout |
Uwe Hermann | 6c73b441 | 2009-10-28 17:10:51 +0000 | [diff] [blame] | 63 | @printf " OPTION $(subst $(obj)/,,$(@))\n" |
Patrick Georgi | 2b7418e | 2009-08-25 19:38:46 +0000 | [diff] [blame] | 64 | $(obj)/build_opt_tbl --config $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.layout --header $(obj)/option_table.h --option $(obj)/option_table.c |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 65 | |
Stefan Reinauer | b5828d7 | 2010-03-29 17:14:28 +0000 | [diff] [blame] | 66 | $(obj)/build_opt_tbl: $(top)/util/options/build_opt_tbl.c $(top)/src/include/pc80/mc146818rtc.h $(top)/src/include/boot/coreboot_tables.h |
Uwe Hermann | 6c73b441 | 2009-10-28 17:10:51 +0000 | [diff] [blame] | 67 | @printf " HOSTCC $(subst $(obj)/,,$(@))\n" |
Stefan Reinauer | b5828d7 | 2010-03-29 17:14:28 +0000 | [diff] [blame] | 68 | $(HOSTCC) $(HOSTCFLAGS) $< -o $@ |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 69 | |
| 70 | ####################################################################### |
| 71 | # Build the coreboot_ram (stage 2) |
| 72 | |
Stefan Reinauer | 531704e | 2010-02-10 11:56:21 +0000 | [diff] [blame] | 73 | $(obj)/coreboot_ram: $(obj)/coreboot_ram.o $(src)/arch/i386/coreboot_ram.ld #ldoptions |
Uwe Hermann | 6c73b441 | 2009-10-28 17:10:51 +0000 | [diff] [blame] | 74 | @printf " CC $(subst $(obj)/,,$(@))\n" |
Stefan Reinauer | 531704e | 2010-02-10 11:56:21 +0000 | [diff] [blame] | 75 | $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/i386/coreboot_ram.ld $(obj)/coreboot_ram.o |
Patrick Georgi | 2b7418e | 2009-08-25 19:38:46 +0000 | [diff] [blame] | 76 | $(NM) -n $(obj)/coreboot_ram | sort > $(obj)/coreboot_ram.map |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 77 | |
Patrick Georgi | 51e142f | 2010-03-27 17:18:39 +0000 | [diff] [blame] | 78 | $(obj)/coreboot_ram.o: $(obj)/arch/i386/lib/c_start.o $$(drivers) $(obj)/coreboot.a $(LIBGCC_FILE_NAME) |
Uwe Hermann | 6c73b441 | 2009-10-28 17:10:51 +0000 | [diff] [blame] | 79 | @printf " CC $(subst $(obj)/,,$(@))\n" |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 80 | $(CC) -nostdlib -r -o $@ $(obj)/arch/i386/lib/c_start.o $(drivers) -Wl,--start-group $(obj)/coreboot.a $(LIBGCC_FILE_NAME) -Wl,--end-group |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 81 | |
Patrick Georgi | 51e142f | 2010-03-27 17:18:39 +0000 | [diff] [blame] | 82 | $(obj)/coreboot.a: $$(objs) |
Uwe Hermann | 6c73b441 | 2009-10-28 17:10:51 +0000 | [diff] [blame] | 83 | @printf " AR $(subst $(obj)/,,$(@))\n" |
Patrick Georgi | 2b7418e | 2009-08-25 19:38:46 +0000 | [diff] [blame] | 84 | rm -f $(obj)/coreboot.a |
Patrick Georgi | 51e142f | 2010-03-27 17:18:39 +0000 | [diff] [blame] | 85 | $(AR) cr $(obj)/coreboot.a $^ |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 86 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 87 | ####################################################################### |
Stefan Reinauer | cca6268 | 2010-03-30 21:52:05 +0000 | [diff] [blame] | 88 | # coreboot_ap.rom |
| 89 | |
| 90 | ifeq ($(CONFIG_AP_CODE_IN_CAR),y) |
| 91 | |
| 92 | $(obj)/coreboot_ap: $(obj)/mainboard/$(MAINBOARDDIR)/ap_romstage.o |
| 93 | @printf " CC $(subst $(obj)/,,$(@))\n" |
| 94 | $(CC) -nostdlib -nostartfiles -static -o $@ -L$(obj) -T $(src)/arch/i386/init/ldscript_apc.lb $^ |
| 95 | $(NM) -n $(obj)/coreboot_ap | sort > $(obj)/coreboot_ap.map |
| 96 | |
| 97 | |
| 98 | endif |
| 99 | |
| 100 | ####################################################################### |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 101 | # done |
| 102 | |
Patrick Georgi | e64b637 | 2010-04-08 21:04:45 +0000 | [diff] [blame] | 103 | crt0s = $(src)/arch/i386/init/crt0_prologue.inc |
Stefan Reinauer | acdd52f | 2010-03-30 20:32:01 +0000 | [diff] [blame] | 104 | ldscripts = |
Patrick Georgi | 31b0bea | 2010-02-25 21:50:26 +0000 | [diff] [blame] | 105 | ldscripts += $(src)/arch/i386/init/ldscript_fallback_cbfs.lb |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 106 | ifeq ($(CONFIG_BIG_BOOTBLOCK),y) |
| 107 | crt0s += $(src)/cpu/x86/16bit/entry16.inc |
Patrick Georgi | 31b0bea | 2010-02-25 21:50:26 +0000 | [diff] [blame] | 108 | ldscripts += $(src)/cpu/x86/16bit/entry16.lds |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 109 | endif |
| 110 | crt0s += $(src)/cpu/x86/32bit/entry32.inc |
Patrick Georgi | 31b0bea | 2010-02-25 21:50:26 +0000 | [diff] [blame] | 111 | ldscripts += $(src)/cpu/x86/32bit/entry32.lds |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 112 | ifeq ($(CONFIG_BIG_BOOTBLOCK),y) |
| 113 | crt0s += $(src)/cpu/x86/16bit/reset16.inc |
Patrick Georgi | 31b0bea | 2010-02-25 21:50:26 +0000 | [diff] [blame] | 114 | ldscripts += $(src)/cpu/x86/16bit/reset16.lds |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 115 | crt0s += $(src)/arch/i386/lib/id.inc |
Patrick Georgi | 31b0bea | 2010-02-25 21:50:26 +0000 | [diff] [blame] | 116 | ldscripts += $(src)/arch/i386/lib/id.lds |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 117 | endif |
| 118 | |
| 119 | crt0s += $(src)/cpu/x86/fpu_enable.inc |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 120 | ifeq ($(CONFIG_SSE),y) |
| 121 | crt0s += $(src)/cpu/x86/sse_enable.inc |
| 122 | endif |
| 123 | |
Patrick Georgi | 5934b50 | 2010-04-12 15:28:34 +0000 | [diff] [blame] | 124 | crt0s += $(cpu_incs) |
| 125 | |
| 126 | # |
| 127 | # FIXME move to CPU_INTEL_SOCKET_MPGA604 |
| 128 | # |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 129 | ifeq ($(CONFIG_BOARD_TYAN_S2735),y) |
| 130 | crt0s += $(src)/cpu/x86/car/cache_as_ram.inc |
| 131 | endif |
| 132 | |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 133 | ifeq ($(CONFIG_LLSHELL),y) |
| 134 | crt0s += $(src)/arch/i386/llshell/llshell.inc |
| 135 | endif |
| 136 | |
Patrick Georgi | eb49f9d | 2010-02-25 17:03:17 +0000 | [diff] [blame] | 137 | crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc |
| 138 | |
| 139 | ifeq ($(CONFIG_SSE),y) |
| 140 | crt0s += $(src)/cpu/x86/sse_disable.inc |
| 141 | endif |
| 142 | ifeq ($(CONFIG_MMX),y) |
| 143 | crt0s += $(src)/cpu/x86/mmx_disable.inc |
| 144 | endif |
| 145 | |
| 146 | ifeq ($(CONFIG_BIG_BOOTBLOCK),y) |
Patrick Georgi | 806a29e | 2010-02-28 20:56:42 +0000 | [diff] [blame] | 147 | crt0s += $(chipset_bootblock_inc) |
| 148 | ldscripts += $(chipset_bootblock_lds) |
Patrick Georgi | a6c337d | 2010-02-03 17:56:37 +0000 | [diff] [blame] | 149 | endif |
Patrick Georgi | 2063197a | 2010-02-09 12:21:10 +0000 | [diff] [blame] | 150 | |
Patrick Georgi | e64b637 | 2010-04-08 21:04:45 +0000 | [diff] [blame] | 151 | ifeq ($(CONFIG_ROMCC),y) |
| 152 | crt0s += $(src)/arch/i386/init/crt0_romcc_epilogue.inc |
| 153 | endif |
| 154 | |
Patrick Georgi | 2063197a | 2010-02-09 12:21:10 +0000 | [diff] [blame] | 155 | OPTION_TABLE_H:= |
| 156 | ifeq ($(CONFIG_HAVE_OPTION_TABLE),y) |
| 157 | OPTION_TABLE_H:=$(obj)/option_table.h |
| 158 | endif |
| 159 | |
| 160 | ifeq ($(CONFIG_ROMCC),y) |
| 161 | ROMCCFLAGS ?= -mcpu=p2 -O2 |
| 162 | |
Stefan Reinauer | 314e551 | 2010-04-09 20:36:29 +0000 | [diff] [blame] | 163 | $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc: $(src)/mainboard/$(MAINBOARDDIR)/romstage.c $(obj)/romcc $(OPTION_TABLE_H) $(obj)/build.h $(obj)/config.h |
Patrick Georgi patrick.georgi | c5f773d | 2010-03-16 12:01:13 +0000 | [diff] [blame] | 164 | printf " ROMCC romstage.inc\n" |
Stefan Reinauer | e9f3258 | 2010-03-29 13:04:13 +0000 | [diff] [blame] | 165 | $(ROMCC) -c -S $(ROMCCFLAGS) -D__PRE_RAM__ -I. $(INCLUDES) $< -o $@ |
Patrick Georgi | 2063197a | 2010-02-09 12:21:10 +0000 | [diff] [blame] | 166 | else |
Stefan Reinauer | 1847618 | 2010-02-11 08:44:20 +0000 | [diff] [blame] | 167 | |
Stefan Reinauer | 8655412 | 2010-03-29 21:50:53 +0000 | [diff] [blame] | 168 | $(obj)/mainboard/$(MAINBOARDDIR)/ap_romstage.o: $(src)/mainboard/$(MAINBOARDDIR)/ap_romstage.c $(OPTION_TABLE_H) |
Stefan Reinauer | 6bee951 | 2010-03-24 15:51:48 +0000 | [diff] [blame] | 169 | @printf " CC $(subst $(obj)/,,$(@))\n" |
Stefan Reinauer | cca6268 | 2010-03-30 21:52:05 +0000 | [diff] [blame] | 170 | $(CC) -MMD $(CFLAGS) -I$(src) -I. -c $(src)/mainboard/$(MAINBOARDDIR)/ap_romstage.c -o $@ |
Stefan Reinauer | 1847618 | 2010-02-11 08:44:20 +0000 | [diff] [blame] | 171 | |
Stefan Reinauer | 6bee951 | 2010-03-24 15:51:48 +0000 | [diff] [blame] | 172 | $(obj)/mainboard/$(MAINBOARDDIR)/romstage.pre.inc: $(src)/mainboard/$(MAINBOARDDIR)/romstage.c $(OPTION_TABLE_H) $(obj)/build.h |
Stefan Reinauer | 53b0ea4 | 2010-03-22 11:50:52 +0000 | [diff] [blame] | 173 | printf " CC romstage.inc\n" |
Stefan Reinauer | e9f3258 | 2010-03-29 13:04:13 +0000 | [diff] [blame] | 174 | $(CC) -MMD $(CFLAGS) -D__PRE_RAM__ -I$(src) -I. -c -S $< -o $@ |
Stefan Reinauer | 6bee951 | 2010-03-24 15:51:48 +0000 | [diff] [blame] | 175 | |
| 176 | $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc: $(obj)/mainboard/$(MAINBOARDDIR)/romstage.pre.inc |
Stefan Reinauer | 53b0ea4 | 2010-03-22 11:50:52 +0000 | [diff] [blame] | 177 | printf " POST romstage.inc\n" |
Stefan Reinauer | 6bee951 | 2010-03-24 15:51:48 +0000 | [diff] [blame] | 178 | sed -e 's/\.rodata/.rom.data/g' -e 's/\.text/.section .rom.text/g' $^ > $@.tmp |
Patrick Georgi | 68882a3 | 2010-02-10 18:08:22 +0000 | [diff] [blame] | 179 | mv $@.tmp $@ |
Patrick Georgi | 2063197a | 2010-02-09 12:21:10 +0000 | [diff] [blame] | 180 | endif |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 181 | |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 182 | # Things that appear in every board |
| 183 | initobjs += $(obj)/mainboard/$(MAINBOARDDIR)/crt0.o |
| 184 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/mainboard.o |
| 185 | ifeq ($(CONFIG_GENERATE_MP_TABLE),y) |
| 186 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/mptable.o |
| 187 | endif |
| 188 | ifeq ($(CONFIG_GENERATE_PIRQ_TABLE),y) |
| 189 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/irq_tables.o |
| 190 | endif |
| 191 | ifeq ($(CONFIG_BOARD_HAS_HARD_RESET),y) |
| 192 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/reset.o |
| 193 | endif |
Patrick Georgi | 9ea7bff | 2010-02-28 18:23:00 +0000 | [diff] [blame] | 194 | ifeq ($(CONFIG_GENERATE_ACPI_TABLES),y) |
| 195 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/acpi_tables.o |
| 196 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/dsdt.o |
Patrick Georgi | 75bf053 | 2010-03-01 07:42:02 +0000 | [diff] [blame] | 197 | # make doesn't have arithmetic operators or greater-than comparisons |
| 198 | ifeq ($(subst 5,4,$(CONFIG_ACPI_SSDTX_NUM)),4) |
| 199 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt2.o |
| 200 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt3.o |
| 201 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt4.o |
| 202 | endif |
| 203 | ifeq ($(CONFIG_ACPI_SSDTX_NUM),5) |
| 204 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt5.o |
| 205 | endif |
Patrick Georgi | 9ea7bff | 2010-02-28 18:23:00 +0000 | [diff] [blame] | 206 | ifeq ($(CONFIG_BOARD_HAS_FADT),y) |
| 207 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/fadt.o |
| 208 | endif |
| 209 | endif |
| 210 | |
| 211 | ifeq ($(CONFIG_HAVE_BUS_CONFIG),y) |
| 212 | objs += $(obj)/mainboard/$(MAINBOARDDIR)/get_bus_conf.o |
| 213 | endif |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 214 | |
Patrick Georgi | 9341acd | 2009-12-23 12:52:56 +0000 | [diff] [blame] | 215 | ifeq ($(CONFIG_TINY_BOOTBLOCK),y) |
Patrick Georgi | c9fa96d | 2010-02-24 13:58:23 +0000 | [diff] [blame] | 216 | include $(src)/arch/i386/Makefile.bootblock.inc |
Patrick Georgi | 9341acd | 2009-12-23 12:52:56 +0000 | [diff] [blame] | 217 | else |
| 218 | include $(src)/arch/i386/Makefile.bigbootblock.inc |
| 219 | endif |