]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/korat/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-nds32
[karo-tx-uboot.git] / board / korat / Makefile
1 #
2 # (C) Copyright 2002-2007
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(BOARD).o
11
12 COBJS   = $(BOARD).o
13 SOBJS   = init.o
14
15 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16 OBJS    := $(addprefix $(obj),$(COBJS))
17 SOBJS   := $(addprefix $(obj),$(SOBJS))
18
19 all:    $(LIB) $(SOBJS)
20
21 $(LIB): $(OBJS)
22         $(call cmd_link_o_target, $^)
23
24 #########################################################################
25
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
28
29 sinclude $(obj).depend
30
31 #########################################################################