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.
41 lines
798 B
41 lines
798 B
#
|
|
# Copyright (C) 2011 Samsung Electronics
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
COBJS += smdkv310.o
|
|
endif
|
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
ALL := $(obj).depend $(LIB)
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ALL += $(OBJTREE)/tools/mk$(BOARD)spl
|
|
endif
|
|
|
|
all: $(ALL)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
|
|
$(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
|
|
endif
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|
|
|