Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2013 Suriyan Ramasami <suriyan.r@gmail.com> |
| 3 | # |
| 4 | # Based on dockstar/Makefile originally written by |
| 5 | # Copyright (C) 2010 Eric C. Cooper <ecc@cmu.edu> |
| 6 | # |
| 7 | # Based on sheevaplug/Makefile originally written by |
| 8 | # Prafulla Wadaskar <prafulla@marvell.com> |
| 9 | # (C) Copyright 2009 |
| 10 | # Marvell Semiconductor <www.marvell.com> |
| 11 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 12 | # SPDX-License-Identifier: GPL-2.0+ |
Suriyan Ramasami | f0ec8af | 2013-04-11 07:17:25 +0000 | [diff] [blame] | 13 | # |
| 14 | |
| 15 | include $(TOPDIR)/config.mk |
| 16 | |
| 17 | LIB = $(obj)lib$(BOARD).o |
| 18 | |
| 19 | COBJS := goflexhome.o |
| 20 | |
| 21 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 22 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 23 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 24 | |
| 25 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
| 26 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
| 27 | |
| 28 | ######################################################################### |
| 29 | |
| 30 | # defines $(obj).depend target |
| 31 | include $(SRCTREE)/rules.mk |
| 32 | |
| 33 | sinclude $(obj).depend |
| 34 | |
| 35 | ######################################################################### |