From: kaf24@scramble.cl.cam.ac.uk Date: Sun, 4 Apr 2004 10:52:47 +0000 (+0000) Subject: bitkeeper revision 1.841 (406fe8ff7-2wwxC3TfeqP0n7iOUcCA) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18280 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9eea861fce2f3bbf70dc01281e22c68e2e5aa064;p=xen.git bitkeeper revision 1.841 (406fe8ff7-2wwxC3TfeqP0n7iOUcCA) Makefile: Install debug versions of Xen and Linux images, with symbols included. --- diff --git a/xen/Makefile b/xen/Makefile index e75d299636..2bfa261c39 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -21,6 +21,7 @@ install: $(TARGET) gzip -f -9 < $(TARGET) > $(TARGET).gz mkdir -p $(prefix)/boot install -m0644 $(TARGET).gz $(prefix)/boot + install -m0644 $(TARGET).dbg $(prefix)/boot dist: $(TARGET) $(MAKE) prefix=`pwd`/../../install dist=yes install diff --git a/xen/arch/i386/Makefile b/xen/arch/i386/Makefile index 6778324206..43b1b0ca05 100644 --- a/xen/arch/i386/Makefile +++ b/xen/arch/i386/Makefile @@ -10,7 +10,8 @@ include $(BASEDIR)/Rules.mk # wrapping that with a low-memory bootstrapper.) default: boot/boot.o $(OBJS) $(LD) -r -o arch.o $(OBJS) - $(LD) $(LDFLAGS) boot/boot.o $(ALL_OBJS) -o $(TARGET) + $(LD) $(LDFLAGS) boot/boot.o $(ALL_OBJS) -o $(TARGET).dbg + objcopy -R .note -R .comment -S $(TARGET).dbg $(TARGET) $(BASEDIR)/tools/elf-reloc $(MONITOR_BASE) $(LOAD_BASE) $(TARGET) clean: diff --git a/xenolinux-2.4.25-sparse/arch/xen/Makefile b/xenolinux-2.4.25-sparse/arch/xen/Makefile index 214675d8ec..3e210c1e54 100644 --- a/xenolinux-2.4.25-sparse/arch/xen/Makefile +++ b/xenolinux-2.4.25-sparse/arch/xen/Makefile @@ -110,10 +110,12 @@ bzImage: vmlinux install: bzImage mkdir -p $(prefix)/boot install -m0644 arch/$(ARCH)/boot/xenolinux.gz $(prefix)/boot/xenolinux.gz + install -m0644 vmlinux $(prefix)/boot/xenolinux.dbg dist: bzImage mkdir -p ../install/boot install -m0644 arch/$(ARCH)/boot/xenolinux.gz ../install/boot/xenolinux.gz + install -m0644 vmlinux ../install/boot/xenolinux.dbg archclean: @$(MAKEBOOT) clean