summaryrefslogtreecommitdiff
path: root/board/netstal/hcu4/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-15 00:22:37 +0100
committerWolfgang Denk <wd@denx.de>2008-02-15 00:22:37 +0100
commit32c70d3420739930165271d9a1b04572adf799fd (patch)
tree831a575557df43006b82d7f7c7f80b3ad0450044 /board/netstal/hcu4/Makefile
parenta4f762a994657151536360b22c8df8bd56ba82a3 (diff)
parentf90e69c634f0b57e88533ceb36dabfd5b6b4e55a (diff)
downloadu-boot-imx-32c70d3420739930165271d9a1b04572adf799fd.zip
u-boot-imx-32c70d3420739930165271d9a1b04572adf799fd.tar.gz
u-boot-imx-32c70d3420739930165271d9a1b04572adf799fd.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/netstal/hcu4/Makefile')
-rw-r--r--board/netstal/hcu4/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/board/netstal/hcu4/Makefile b/board/netstal/hcu4/Makefile
index b13d9d4..3d1d65d 100644
--- a/board/netstal/hcu4/Makefile
+++ b/board/netstal/hcu4/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,18 +22,14 @@ 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 = ../common/fixed_sdram.o ../common/hcu_flash.o ../common/nm_bsp.o
+NOBJS = fixed_sdram.o hcu_flash.o nm_bsp.o
COBJS = $(BOARD).o
SOBJS =
-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)