2002-11-18 00:14:45 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
|
2002-11-18 00:14:45 +00:00
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-18 00:14:45 +00:00
|
|
|
#
|
|
|
|
|
2011-02-12 04:11:21 +00:00
|
|
|
CROSS_COMPILE ?= i386-linux-
|
2002-11-18 00:14:45 +00:00
|
|
|
|
2014-07-30 05:08:23 +00:00
|
|
|
PLATFORM_CPPFLAGS += -D__I386__ -Werror
|
2011-02-12 04:11:24 +00:00
|
|
|
|
|
|
|
# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
|
|
|
|
LDPPFLAGS += -DRESET_SEG_START=0xffff0000
|
|
|
|
LDPPFLAGS += -DRESET_SEG_SIZE=0x10000
|
2014-11-15 01:18:25 +00:00
|
|
|
LDPPFLAGS += -DRESET_VEC_LOC=0xfffffff0
|
|
|
|
LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
|
|
|
|
LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"
|