projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06ab65
)
ppc: Move conditional compilation of kgdb.c to Makefile
author
Peter Tyser
<ptyser@xes-inc.com>
Wed, 4 Nov 2009 05:31:07 +0000
(23:31 -0600)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 24 Nov 2009 22:41:11 +0000
(23:41 +0100)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
lib_ppc/Makefile
patch
|
blob
|
history
lib_ppc/kgdb.c
patch
|
blob
|
history
diff --git
a/lib_ppc/Makefile
b/lib_ppc/Makefile
index 399b41e31e0e30143ebedd10b2bfc08a208a045b..60a76253b268a34bfa236e2198e66c93ac3d6130 100644
(file)
--- 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)
diff --git
a/lib_ppc/kgdb.c
b/lib_ppc/kgdb.c
index 78c2f0c47588103d01b1e77d6834bbbddcc1e8a3..d3eb1f35a9fd90191268cf0336522aa280c05795 100644
(file)
--- a/
lib_ppc/kgdb.c
+++ b/
lib_ppc/kgdb.c
@@
-1,8
+1,5
@@
#include <common.h>
#include <command.h>
-
-#if defined(CONFIG_CMD_KGDB)
-
#include <kgdb.h>
#include <asm/signal.h>
#include <asm/processor.h>
@@
-322,5
+319,3
@@
kgdb_breakpoint(int argc, char *argv[])
breakinst: .long 0x7d821008\n\
");
}
-
-#endif