2010-06-17 14:08:21 +00:00
|
|
|
#
|
2011-04-22 17:41:02 +00:00
|
|
|
# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
|
2010-06-17 14:08:21 +00:00
|
|
|
#
|
|
|
|
# Based on original Kirkwood support which is
|
|
|
|
# (C) Copyright 2009
|
|
|
|
# Marvell Semiconductor <www.marvell.com>
|
|
|
|
# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-06-17 14:08:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
2011-11-21 13:55:47 +00:00
|
|
|
ifneq ($(OBJTREE),$(SRCTREE))
|
|
|
|
$(shell mkdir -p $(obj)../common)
|
|
|
|
endif
|
2010-06-17 14:08:21 +00:00
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2010-06-17 14:08:21 +00:00
|
|
|
|
2011-11-21 13:55:47 +00:00
|
|
|
COBJS := edminiv2.o ../common/common.o
|
2010-06-17 14:08:21 +00:00
|
|
|
|
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2010-06-17 14:08:21 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|