blob: 33ed47fe7953c351a012637fcd5ad296b6c4a36c [file] [log] [blame]
Stefan Reinauer0fa5d8f2015-06-30 17:09:17 -07001################################################################################
2##
3## This file is part of the coreboot project.
4##
5## Copyright (C) 2009-2010 coresystems GmbH
6## Copyright (C) 2015 Google Inc.
7##
8## This program is free software; you can redistribute it and/or modify
9## it under the terms of the GNU General Public License as published by
10## the Free Software Foundation; version 2 of the License.
11##
12## This program is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15## GNU General Public License for more details.
16##
17## You should have received a copy of the GNU General Public License
18## along with this program; if not, write to the Free Software
19## Foundation, Inc.
20##
21
22seabios:
23 $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc \
24 HOSTCC="$(HOSTCC)" \
25 CC=$(word 1,$(CC_x86_32)) CFLAGS="$(patsubst $(word 1,$(CC_x86_32))%,,$(CC_x86_32))" \
26 LD=$(word 1,$(LD_x86_32)) LDFLAGS="$(patsubst $(word 1,$(LD_x86_32))%,,$(LD_x86_32))" \
27 OBJDUMP="$(OBJDUMP_x86_32)" \
28 OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
29 AS="$(AS_x86_32)" IASL="$(IASL)" \
30 CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
31 CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \
32 CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \
33 CONFIG_SEABIOS_VGA_COREBOOT=$(CONFIG_SEABIOS_VGA_COREBOOT) \
34 CONFIG_CONSOLE_SERIAL=$(CONFIG_CONSOLE_SERIAL) \
35 CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE) \
36 CONFIG_SEABIOS_MALLOC_UPPERMEMORY=$(CONFIG_SEABIOS_MALLOC_UPPERMEMORY)
37
38filo:
39 $(MAKE) -C payloads/external/FILO -f Makefile.inc \
40 HOSTCC="$(HOSTCC)" \
41 CC="$(CC_x86_32)" LD="$(LD_x86_32)" OBJDUMP="$(OBJDUMP_x86_32)" \
42 OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
43 CONFIG_FILO_MASTER=$(CONFIG_FILO_MASTER) \
44 CONFIG_FILO_STABLE=$(CONFIG_FILO_STABLE)
45
46
47grub2:
48 $(MAKE) -C payloads/external/GRUB2 -f Makefile.inc \
49 HOSTCC="$(HOSTCC)" \
50 CC="$(CC_x86_32)" LD="$(LD_x86_32)" OBJDUMP="$(OBJDUMP_x86_32)" \
51 OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \
52 CONFIG_GRUB2_MASTER=$(CONFIG_GRUB2_MASTER)