xref: /openbmc/u-boot/board/htkw/mcx/Makefile (revision 5b9c79a8)
1#
2# Copyright (C) 2011 Ilya Yanok, Emcraft Systems
3#
4# Based on ti/evm/Makefile
5#
6# SPDX-License-Identifier:	GPL-2.0+
7#
8
9include $(TOPDIR)/config.mk
10
11LIB	= $(obj)lib$(BOARD).o
12
13COBJS	:= $(BOARD).o
14
15SRCS	:= $(COBJS:.o=.c)
16OBJS	:= $(addprefix $(obj),$(COBJS))
17
18$(LIB):	$(obj).depend $(OBJS)
19	$(call cmd_link_o_target, $(OBJS))
20
21#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27