]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/tx25/Makefile
Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash
[karo-tx-uboot.git] / board / karo / tx25 / Makefile
1 #
2 # (C) Copyright 2009 DENX Software Engineering
3 # Author: John Rigby <jcrigby@gmail.com>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(BOARD).o
11
12 ifdef CONFIG_SPL_BUILD
13 SOBJS   := lowlevel_init.o
14 endif
15 COBJS   := tx25.o
16
17 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18 OBJS    := $(addprefix $(obj),$(COBJS))
19 SOBJS   := $(addprefix $(obj),$(SOBJS))
20
21 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
22         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
23
24 #########################################################################
25
26 include $(SRCTREE)/rules.mk
27
28 sinclude $(obj).depend
29
30 #########################################################################