upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
612 B
25 lines
612 B
#
|
|
# (C) Copyright 2015
|
|
# Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifeq ($(CROSS_COMPILE),)
|
|
CROSS_COMPILE := sparc-linux-
|
|
endif
|
|
|
|
# This GCC compiler is known to work:
|
|
# https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/
|
|
|
|
gcclibdir := $(shell dirname `$(CC) -print-libgcc-file-name`)
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
|
|
-T $(srctree)/examples/standalone/sparc.lds
|
|
|
|
cpuflags-$(CONFIG_LEON2) := -mcpu=leon
|
|
cpuflags-$(CONFIG_LEON3) := -mcpu=leon3
|
|
|
|
PLATFORM_CPPFLAGS += $(cpuflags-y)
|
|
|
|
PLATFORM_RELFLAGS += -fPIC
|
|
|