xref: /openbmc/u-boot/board/samsung/goni/Makefile (revision 3765b3e7)
1#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
7#
8# SPDX-License-Identifier:	GPL-2.0+
9#
10
11include $(TOPDIR)/config.mk
12
13LIB	= $(obj)lib$(BOARD).o
14
15COBJS-y	:= goni.o onenand.o
16SOBJS	:= lowlevel_init.o
17
18SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19OBJS	:= $(addprefix $(obj),$(COBJS-y))
20SOBJS	:= $(addprefix $(obj),$(SOBJS))
21
22$(LIB):	$(obj).depend $(SOBJS) $(OBJS)
23	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
24
25#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################
33