summaryrefslogtreecommitdiff
path: root/board/netstal/hcu5/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-15 00:22:49 +0100
committerWolfgang Denk <wd@denx.de>2008-02-15 00:22:49 +0100
commita4d60bb917ed3d9b47ec8e55348e9bce004fa9b4 (patch)
tree842b477a86e2b8a7ce216ef486ec0080b0f48e70 /board/netstal/hcu5/Makefile
parente4992f12523766360628e196f706d29d49b14bf7 (diff)
parent32c70d3420739930165271d9a1b04572adf799fd (diff)
Merge ../custodians
Diffstat (limited to 'board/netstal/hcu5/Makefile')
-rw-r--r--board/netstal/hcu5/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/board/netstal/hcu5/Makefile b/board/netstal/hcu5/Makefile
index 9f248a441d..349c653e7f 100644
--- a/board/netstal/hcu5/Makefile
+++ b/board/netstal/hcu5/Makefile
@@ -1,5 +1,5 @@
#
-# (C) Copyright 2007 Netstal Maschinen AG
+# (C) Copyright 2007-2008 Netstal Maschinen AG
# Niklaus Giger (ng@netstal.com)
#
# This program is free software; you can redistribute it and/or
@@ -22,17 +22,15 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-vpath hcu_flash.c ../common
-vpath nm_bsp.c ../common
# NOBJS : Netstal common objects
-NOBJS = ../common/hcu_flash.o ../common/nm_bsp.o
+NOBJS = hcu_flash.o nm_bsp.o
COBJS = $(BOARD).o sdram.o
SOBJS = init.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(NOBJS:.o=.c)
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(addprefix ../common/,$(NOBJS:.o=.c))
OBJS := $(addprefix $(obj),$(COBJS))
-NOBJS := $(addprefix $(obj),$(NOBJS))
+NOBJS := $(addprefix $(obj)../common/,$(NOBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS) $(NOBJS)