]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/altera/socfpga/Makefile
Merge branch 'u-boot/master' into u-boot-arm/master
[karo-tx-uboot.git] / board / altera / socfpga / Makefile
1 #
2 # (C) Copyright 2001-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 # (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
5 #
6 # SPDX-License-Identifier:      GPL-2.0+
7 #
8
9 include $(TOPDIR)/config.mk
10
11 LIB     = $(obj)lib$(BOARD).o
12
13 COBJS   := socfpga_cyclone5.o
14
15 SRCS    := $(COBJS:.o=.c)
16 OBJS    := $(addprefix $(obj),$(COBJS))
17
18 $(LIB): $(obj).depend $(OBJS)
19         $(call cmd_link_o_target, $(OBJS))
20
21 clean:
22         rm -f $(OBJS)
23
24 distclean:      clean
25         rm -f $(LIB) core *.bak $(obj).depend
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################