blob: 1263221e699493aa95b487cb2df962ecea2110cc [file] [log] [blame]
wdenk2262cfe2002-11-18 00:14:45 +00001#
2# (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02003# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
wdenk2262cfe2002-11-18 00:14:45 +00004#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk2262cfe2002-11-18 00:14:45 +00006#
7
Graeme Russa85f53c2011-02-12 15:11:21 +11008CROSS_COMPILE ?= i386-linux-
wdenk2262cfe2002-11-18 00:14:45 +00009
Simon Glass9a7d7002015-04-28 20:25:06 -060010PLATFORM_CPPFLAGS += -D__I386__
Graeme Russ3a25e942011-02-12 15:11:24 +110011
12# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
Bin Meng343fb992015-06-07 11:33:12 +080013LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
14LDPPFLAGS += -DRESET_SEG_SIZE=$(CONFIG_RESET_SEG_SIZE)
15LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
Simon Glassa6a95782014-11-14 18:18:25 -070016LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
17LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"