direct-io.hg
changeset 129:314a968df74d
bitkeeper revision 1.22.2.6 (3e453f3dCn57Rsy_s15t0vEHA2Pbbw)
Build image with "-g" to enable debuging symbols, then generate an
"image.s" file that is the source annotated assembler. I've made this
the default.
Build image with "-g" to enable debuging symbols, then generate an
"image.s" file that is the source annotated assembler. I've made this
the default.
author | iap10@labyrinth.cl.cam.ac.uk |
---|---|
date | Sat Feb 08 17:32:45 2003 +0000 (2003-02-08) |
parents | 6e6899e5357c |
children | dc2f8bc0b538 |
files | xen-2.4.16/Makefile xen-2.4.16/Rules.mk |
line diff
1.1 --- a/xen-2.4.16/Makefile Sat Feb 08 13:42:29 2003 +0000 1.2 +++ b/xen-2.4.16/Makefile Sat Feb 08 17:32:45 2003 +0000 1.3 @@ -5,6 +5,7 @@ include Rules.mk 1.4 1.5 default: $(TARGET) 1.6 gzip -f -9 < $(TARGET) > $(TARGET).gz 1.7 + objdump -D -S image >image.s 1.8 1.9 install: $(TARGET) 1.10 gzip -f -9 < $(TARGET) > $(TARGET).gz
2.1 --- a/xen-2.4.16/Rules.mk Sat Feb 08 13:42:29 2003 +0000 2.2 +++ b/xen-2.4.16/Rules.mk Sat Feb 08 17:32:45 2003 +0000 2.3 @@ -27,7 +27,7 @@ HOSTCFLAGS = -Wall -Wstrict-prototypes - 2.4 include $(BASEDIR)/arch/$(ARCH)/Rules.mk 2.5 2.6 %.o: %.c $(HDRS) Makefile 2.7 - $(CC) $(CFLAGS) -c $< -o $@ 2.8 + $(CC) -g $(CFLAGS) -c $< -o $@ 2.9 2.10 %.o: %.S $(HDRS) Makefile 2.11 $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $@