Stefan | c98efc3 | 2011-12-23 06:35:04 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 |
| 3 | # Stefan Herbrechtsmeier <stefan@code.herbrechtsmeier.net> |
| 4 | # |
| 5 | # Based on Kirkwood support: |
| 6 | # (C) Copyright 2009 |
| 7 | # Marvell Semiconductor <www.marvell.com> |
| 8 | # Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
| 9 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
Stefan | c98efc3 | 2011-12-23 06:35:04 +0000 | [diff] [blame] | 11 | # |
| 12 | |
| 13 | include $(TOPDIR)/config.mk |
| 14 | |
| 15 | LIB = $(obj)lib$(BOARD).o |
| 16 | |
| 17 | COBJS := dns325.o |
| 18 | |
| 19 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 20 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 21 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 22 | |
| 23 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
| 24 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
| 25 | |
| 26 | ######################################################################### |
| 27 | |
| 28 | # defines $(obj).depend target |
| 29 | include $(SRCTREE)/rules.mk |
| 30 | |
| 31 | sinclude $(obj).depend |
| 32 | |
| 33 | ######################################################################### |