summaryrefslogtreecommitdiff
path: root/board/netstal/hcu5/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-02-14 11:46:07 +0100
committerStefan Roese <sr@denx.de>2008-02-14 11:46:07 +0100
commitf90e69c634f0b57e88533ceb36dabfd5b6b4e55a (patch)
treeb959a336b118e054afec34b69a9bbe7021f56983 /board/netstal/hcu5/Makefile
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
parentb7f6193e76651e1fd606e46eb11915b53cb6618b (diff)
downloadu-boot-imx-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.zip
u-boot-imx-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.tar.gz
u-boot-imx-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.tar.bz2
Merge branch 'for-1.3.2'
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 9f248a4..349c653 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)