blob: 22416f39b6ec90fb8173e20c778cd9b52a64e628 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk591dda52002-11-18 00:14:45 +00002#
3# (C) Copyright 2002
Albert ARIBAUD60fbc8d2011-08-04 18:45:45 +02004# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
wdenk591dda52002-11-18 00:14:45 +00005
Graeme Russ9381c8a2011-02-12 15:11:21 +11006CROSS_COMPILE ?= i386-linux-
wdenk591dda52002-11-18 00:14:45 +00007
Graeme Russ3fe48602011-02-12 15:11:24 +11008# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
Bin Meng51b0f622015-06-07 11:33:12 +08009LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
10LDPPFLAGS += -DRESET_SEG_SIZE=$(CONFIG_RESET_SEG_SIZE)
11LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
Simon Glass20ec2532014-11-14 18:18:25 -070012LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
13LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"
Simon Glassc74f9dc2017-01-16 07:04:01 -070014
15ifdef CONFIG_X86_64
16ifndef CONFIG_SPL_BUILD
17LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
18endif
19endif