2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
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
|
|
|
|
2011-02-12 04:11:21 +00:00
|
|
|
CROSS_COMPILE ?= i386-linux-
|
2002-11-18 00:14:45 +00:00
|
|
|
|
2011-02-12 04:11:24 +00:00
|
|
|
# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
|
2015-06-07 03:33:12 +00:00
|
|
|
LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
|
|
|
|
LDPPFLAGS += -DRESET_SEG_SIZE=$(CONFIG_RESET_SEG_SIZE)
|
|
|
|
LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
|
2014-11-15 01:18:25 +00:00
|
|
|
LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
|
|
|
|
LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"
|
2017-01-16 14:04:01 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_X86_64
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
|
|
LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
|
|
|
|
endif
|
|
|
|
endif
|