summaryrefslogtreecommitdiff
path: root/board/netstal/hcu4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/netstal/hcu4/Makefile')
-rw-r--r--board/netstal/hcu4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/netstal/hcu4/Makefile b/board/netstal/hcu4/Makefile
index af90821..b13d9d4 100644
--- a/board/netstal/hcu4/Makefile
+++ b/board/netstal/hcu4/Makefile
@@ -22,14 +22,16 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
+vpath fixed_sdram.c ../common
vpath hcu_flash.c ../common
+vpath nm_bsp.c ../common
# NOBJS : Netstal common objects
-NOBJS = hcu_flash.o
+NOBJS = ../common/fixed_sdram.o ../common/hcu_flash.o ../common/nm_bsp.o
COBJS = $(BOARD).o
SOBJS =
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(NOBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
NOBJS := $(addprefix $(obj),$(NOBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))