Home | History | Annotate | Download | only in cpu
      1 # SPDX-License-Identifier: GPL-2.0+
      2 #
      3 # (C) Copyright 2002
      4 # Daniel Engstrm, Omicron Ceti AB, daniel (a] omicron.se.
      5 
      6 CROSS_COMPILE ?= i386-linux-
      7 
      8 # DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
      9 LDPPFLAGS += -DRESET_SEG_START=$(CONFIG_RESET_SEG_START)
     10 LDPPFLAGS += -DRESET_SEG_SIZE=$(CONFIG_RESET_SEG_SIZE)
     11 LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
     12 LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
     13 LDPPFLAGS += -DRESET_BASE="CONFIG_SYS_TEXT_BASE + (CONFIG_SYS_MONITOR_LEN - RESET_SEG_SIZE)"
     14 
     15 ifdef CONFIG_X86_64
     16 ifndef CONFIG_SPL_BUILD
     17 LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
     18 endif
     19 endif
     20