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