diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 17:55:29 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-11 17:55:29 +0000 |
commit | 56aebc891674cd2d07b3f64183415697be200084 (patch) | |
tree | c3cfc08f9593b32d16bb3469be3a7d479f8f99d9 /Makefile.target | |
parent | 1792f2867c645ac8d587e30b30bdc6e0bb28a0d0 (diff) | |
download | hqemu-56aebc891674cd2d07b3f64183415697be200084.zip hqemu-56aebc891674cd2d07b3f64183415697be200084.tar.gz |
Add GDB XML register description support.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5459 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target index f6ec8ef..e21ebac 100644 --- a/Makefile.target +++ b/Makefile.target @@ -418,7 +418,7 @@ OBJS+= m68k-sim.o m68k-semi.o endif ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif OBJS+= libqemu.a @@ -456,7 +456,7 @@ OBJS= main.o commpage.o machload.o mmap.o signal.o syscall.o thunk.o OBJS+= libqemu.a ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif # Note: this is a workaround. The real fix is to avoid compiling @@ -626,7 +626,7 @@ OBJS+= an5206.o mcf5206.o ptimer.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o OBJS+= m68k-semi.o dummy_m68k.o endif ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif ifdef CONFIG_COCOA COCOA_LIBS=-F/System/Library/Frameworks -framework Cocoa -framework IOKit @@ -674,6 +674,14 @@ $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a endif # !CONFIG_USER_ONLY +gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh + rm -f $@ +ifeq ($(TARGET_XML_FILES),) + echo > $@ +else + $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES) +endif + %.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< |