xref: /openbmc/u-boot/arch/x86/cpu/config.mk (revision cbd2fba1)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2002
4# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
5
6CROSS_COMPILE ?= i386-linux-
7
8# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
9LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
10LDPPFLAGS += -DRESET_SEG_SIZE=$(CONFIG_RESET_SEG_SIZE)
11LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
12LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
13LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"
14
15ifdef CONFIG_X86_64
16ifndef CONFIG_SPL_BUILD
17LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
18endif
19endif
20