summaryrefslogtreecommitdiff
path: root/board/LaCie/edminiv2/Makefile
diff options
context:
space:
mode:
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))