summaryrefslogtreecommitdiff
path: root/board/LaCie/netspace_v2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/LaCie/netspace_v2/Makefile')
-rw-r--r--board/LaCie/netspace_v2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/LaCie/netspace_v2/Makefile b/board/LaCie/netspace_v2/Makefile
index d4a613f..b43c3d3 100644
--- a/board/LaCie/netspace_v2/Makefile
+++ b/board/LaCie/netspace_v2/Makefile
@@ -21,10 +21,13 @@
#
include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
LIB = $(obj)lib$(BOARD).o
-COBJS := netspace_v2.o
+COBJS := $(BOARD).o ../common/common.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))