Lei Wen | ea4bc12 | 2011-02-09 18:17:47 +0530 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2011 |
| 3 | # Marvell Semiconductor <www.marvell.com> |
| 4 | # Written-by: Lei Wen <leiwen@marvell.com> |
| 5 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Lei Wen | ea4bc12 | 2011-02-09 18:17:47 +0530 | [diff] [blame] | 7 | # |
| 8 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
| 11 | LIB = $(obj)lib$(BOARD).o |
| 12 | |
| 13 | COBJS := dkb.o |
| 14 | |
| 15 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 16 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 17 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 18 | |
| 19 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Mike Frysinger | 26ddff2 | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 20 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Lei Wen | ea4bc12 | 2011-02-09 18:17:47 +0530 | [diff] [blame] | 21 | |
Lei Wen | ea4bc12 | 2011-02-09 18:17:47 +0530 | [diff] [blame] | 22 | ######################################################################### |
| 23 | |
| 24 | # defines $(obj).depend target |
| 25 | include $(SRCTREE)/rules.mk |
| 26 | |
| 27 | sinclude $(obj).depend |
| 28 | |
| 29 | ######################################################################### |