xref: /openbmc/u-boot/board/ronetix/pm9263/Makefile (revision c0dcece7)
1#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Stelian Pop <stelian@popies.net>
7# Lead Tech Design <www.leadtechdesign.com>
8# Ilko Iliev <www.ronetix.at>
9#
10# SPDX-License-Identifier:	GPL-2.0+
11#
12
13include $(TOPDIR)/config.mk
14
15LIB	= $(obj)lib$(BOARD).o
16
17COBJS-y += pm9263.o
18COBJS-y += led.o
19COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
20
21SRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22OBJS	:= $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
23SOBJS	:= $(addprefix $(obj),$(SOBJS-y))
24
25$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
26	$(call cmd_link_o_target, $(OBJS))
27
28#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################
36