]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/vpac270/Makefile
karo: tx6: add support for TX6 HW Rev. 3
[karo-tx-uboot.git] / board / vpac270 / Makefile
1 #
2 # Voipac PXA270 Support
3 #
4 # Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
5 #
6 # SPDX-License-Identifier:      GPL-2.0+
7 #
8
9 include $(TOPDIR)/config.mk
10
11 LIB     = $(obj)lib$(BOARD).o
12
13 ifndef  CONFIG_SPL_BUILD
14 COBJS   := vpac270.o
15 else
16 COBJS   := onenand.o
17 endif
18
19 SRCS    := $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(COBJS))
21
22 $(LIB): $(obj).depend $(OBJS)
23         $(call cmd_link_o_target, $(OBJS))
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################