debuggers.hg

view xen/arch/x86/Makefile @ 3674:fb875591fd72

bitkeeper revision 1.1159.223.63 (42028527-fv-d9BM0_LRp8UKGP19gQ)

Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
author kaf24@scramble.cl.cam.ac.uk
date Thu Feb 03 20:10:15 2005 +0000 (2005-02-03)
parents dee91b44a753
children 51052c8b6456 70b22eeb86c1
line source
2 include $(BASEDIR)/Rules.mk
4 ifneq ($(debugger),y)
5 OBJS := $(subst pdb-linux.o,,$(OBJS))
6 OBJS := $(subst pdb-stub.o,,$(OBJS))
7 endif
9 OBJS += $(patsubst %.S,%.o,$(wildcard $(TARGET_SUBARCH)/*.S))
10 OBJS += $(patsubst %.c,%.o,$(wildcard $(TARGET_SUBARCH)/*.c))
11 OBJS += $(patsubst %.c,%.o,$(wildcard mtrr/*.c))
13 OBJS := $(subst $(TARGET_SUBARCH)/asm-offsets.o,,$(OBJS))
15 default: $(TARGET)
17 $(TARGET): $(TARGET)-syms boot/mkelf32
18 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000
20 $(CURDIR)/arch.o: $(OBJS)
21 $(LD) $(LDFLAGS) -r -o $@ $(OBJS)
23 $(TARGET)-syms: boot/$(TARGET_SUBARCH).o $(ALL_OBJS) $(TARGET_SUBARCH)/xen.lds
24 $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
25 boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $@
27 asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c
28 $(CC) $(CFLAGS) -S -o $@ $<
30 boot/mkelf32: boot/mkelf32.c
31 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
33 clean:
34 rm -f *.o *.s *~ core boot/*.o boot/*~ boot/core boot/mkelf32
35 rm -f x86_32/*.o x86_32/*~ x86_32/core
36 rm -f x86_64/*.o x86_64/*~ x86_64/core
38 # setup.o contains bits of compile.h so it must be blown away
39 delete-unfresh-files:
40 rm -f setup.o
42 .PHONY: default clean delete-unfresh-files