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.
40 lines
941 B
40 lines
941 B
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# Copyright (C) 2005-2006 Atmel Corporation.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB := $(obj)lib$(CPU).o
|
|
|
|
START-y += start.o
|
|
|
|
COBJS-y += cpu.o
|
|
COBJS-$(CONFIG_SYS_HSDRAMC) += hsdramc.o
|
|
COBJS-y += exception.o
|
|
COBJS-y += cache.o
|
|
COBJS-y += interrupts.o
|
|
COBJS-$(CONFIG_PORTMUX_PIO) += portmux-pio.o
|
|
COBJS-$(CONFIG_PORTMUX_GPIO) += portmux-gpio.o
|
|
|
|
SRCS := $(START-y:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
|
|
START := $(addprefix $(obj),$(START-y))
|
|
|
|
all: $(obj).depend $(START) $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(call cmd_link_o_target, $^)
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|
|
|