summaryrefslogtreecommitdiffstats
path: root/board/LaCie/net2big_v2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/LaCie/net2big_v2/Makefile')
-rw-r--r--board/LaCie/net2big_v2/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/LaCie/net2big_v2/Makefile b/board/LaCie/net2big_v2/Makefile
index 4bacef4da4..fbae48ef24 100644
--- a/board/LaCie/net2big_v2/Makefile
+++ b/board/LaCie/net2big_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 := net2big_v2.o
+COBJS := $(BOARD).o ../common/common.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
OpenPOWER on IntegriCloud