summaryrefslogtreecommitdiff
path: root/board/LaCie/edminiv2/Makefile
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2011-11-21 19:25:47 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:30 +0100
commit77ea071fefbda70ed21a6f0e7bd34ec215e70d39 (patch)
tree72bd114929a758873cdeaf075db880e9d5018ee0 /board/LaCie/edminiv2/Makefile
parent5628fb75d10764c377bd7eef9dfb4476f2398ff7 (diff)
downloadu-boot-imx-77ea071fefbda70ed21a6f0e7bd34ec215e70d39.zip
u-boot-imx-77ea071fefbda70ed21a6f0e7bd34ec215e70d39.tar.gz
u-boot-imx-77ea071fefbda70ed21a6f0e7bd34ec215e70d39.tar.bz2
ARM: remove duplicated code for LaCie boards
This patch groups together all the common functions for LaCie boards: Ethernet PHY and MAC address initializations. Moreover the configurations for LaCie Kirkwood boards are merged into a single file: include/configs/lacie_kw.h Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'board/LaCie/edminiv2/Makefile')
-rw-r--r--board/LaCie/edminiv2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/LaCie/edminiv2/Makefile b/board/LaCie/edminiv2/Makefile
index 00a255d..c8d45f4 100644
--- a/board/LaCie/edminiv2/Makefile
+++ b/board/LaCie/edminiv2/Makefile
@@ -26,10 +26,13 @@
#
include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
LIB = $(obj)lib$(BOARD).o
-COBJS := edminiv2.o
+COBJS := edminiv2.o ../common/common.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))