summaryrefslogtreecommitdiff
path: root/lib_ppc/Makefile
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-11-03 23:31:07 -0600
committerWolfgang Denk <wd@denx.de>2009-11-24 23:41:11 +0100
commit425d3b666eee5c58fdb82fb894a535dd71782a05 (patch)
tree207442d55a6830ba8f75c6378be77f9eb4e2989e /lib_ppc/Makefile
parente06ab6546b332acc55ac4e7c31338662328b0fb3 (diff)
downloadu-boot-imx-425d3b666eee5c58fdb82fb894a535dd71782a05.zip
u-boot-imx-425d3b666eee5c58fdb82fb894a535dd71782a05.tar.gz
u-boot-imx-425d3b666eee5c58fdb82fb894a535dd71782a05.tar.bz2
ppc: Move conditional compilation of kgdb.c to Makefile
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib_ppc/Makefile')
-rw-r--r--lib_ppc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/Makefile b/lib_ppc/Makefile
index 399b41e..60a7625 100644
--- a/lib_ppc/Makefile
+++ b/lib_ppc/Makefile
@@ -35,7 +35,7 @@ COBJS-y += bootm.o
COBJS-y += cache.o
COBJS-y += extable.o
COBJS-y += interrupts.o
-COBJS-y += kgdb.o
+COBJS-$(CONFIG_CMD_KGDB) += kgdb.o
COBJS-y += time.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)