blob: 8f9814c0ae7d2632356b439cee0538ba9defaa26 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk2262cfe2002-11-18 00:14:45 +00002#
3# (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02004# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
wdenk2262cfe2002-11-18 00:14:45 +00005
Graeme Russa85f53c2011-02-12 15:11:21 +11006CROSS_COMPILE ?= i386-linux-
wdenk2262cfe2002-11-18 00:14:45 +00007
Graeme Russ3a25e942011-02-12 15:11:24 +11008# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
Bin Meng343fb992015-06-07 11:33:12 +08009LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
Bin Meng343fb992015-06-07 11:33:12 +080010LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
Simon Glassa6a95782014-11-14 18:18:25 -070011LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
Simon Glass3742d7a2017-01-16 07:04:01 -070012
13ifdef CONFIG_X86_64
14ifndef CONFIG_SPL_BUILD
15LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
16endif
17endif