summaryrefslogtreecommitdiff
path: root/board/freescale/mpc832xemds/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-20 22:52:31 +0200
committerWolfgang Denk <wd@denx.de>2009-07-20 22:52:31 +0200
commit23b5b1d3e1e33e9650cc7a4e09901272a3811c64 (patch)
tree587d6bfa8925879040b4bcb364c6c3ef5ba40546 /board/freescale/mpc832xemds/Makefile
parentb86b85e2611d57d834795a92453431a1a340c3c9 (diff)
parent9993e196da707a0a1cd4584f1fcef12382c1c144 (diff)
downloadu-boot-imx-23b5b1d3e1e33e9650cc7a4e09901272a3811c64.zip
u-boot-imx-23b5b1d3e1e33e9650cc7a4e09901272a3811c64.tar.gz
u-boot-imx-23b5b1d3e1e33e9650cc7a4e09901272a3811c64.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
Diffstat (limited to 'board/freescale/mpc832xemds/Makefile')
-rw-r--r--board/freescale/mpc832xemds/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mpc832xemds/Makefile b/board/freescale/mpc832xemds/Makefile
index a97116c..c34905c 100644
--- a/board/freescale/mpc832xemds/Makefile
+++ b/board/freescale/mpc832xemds/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o pci.o
+COBJS-y += $(BOARD).o
+COBJS-$(CONFIG_PCI) += pci.o
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))