]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/st-ericsson/u8500/Makefile
Merge branch 'u-boot/master' into u-boot-arm/master
[karo-tx-uboot.git] / board / st-ericsson / u8500 / Makefile
1 #
2 # Copyright (C) ST-Ericsson SA 2009
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 include $(TOPDIR)/config.mk
8
9 CFLAGS += -D__RELEASE -D__STN_8500
10 LIB     = $(obj)lib$(BOARD).o
11
12 COBJS   := u8500_href.o gpio.o
13
14 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15 OBJS    := $(addprefix $(obj),$(COBJS))
16 SOBJS   := $(addprefix $(obj),$(SOBJS))
17
18 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
19         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
20
21 #########################################################################
22
23 # defines $(obj).depend target
24 include $(SRCTREE)/rules.mk
25
26 sinclude $(obj).depend
27
28 #########################################################################