debuggers.hg

view xen/arch/x86/Makefile @ 16580:1936e6a79f85

x86: Fix management support on HP ProLiant systems.

Adds support to allow host-platform-specific handling of I/O port
traps. Specifically adds support to handle an HP ProLiant I/O port in a
special way.

Signed-off-by: Mike Garrett <michael.garrett@hp.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Dec 06 11:23:04 2007 +0000 (2007-12-06)
parents afd768e9382e
children 80ba1b427032
line source
1 subdir-y += acpi
2 subdir-y += cpu
3 subdir-y += genapic
4 subdir-y += hvm
5 subdir-y += mm
6 subdir-y += oprofile
8 subdir-$(x86_32) += x86_32
9 subdir-$(x86_64) += x86_64
11 obj-y += apic.o
12 obj-y += bitops.o
13 obj-y += clear_page.o
14 obj-y += compat.o
15 obj-y += delay.o
16 obj-y += dmi_scan.o
17 obj-y += domctl.o
18 obj-y += domain.o
19 obj-y += domain_build.o
20 obj-y += e820.o
21 obj-y += extable.o
22 obj-y += flushtlb.o
23 obj-y += platform_hypercall.o
24 obj-y += i387.o
25 obj-y += i8259.o
26 obj-y += io_apic.o
27 obj-y += ioport_emulate.o
28 obj-y += irq.o
29 obj-y += microcode.o
30 obj-y += mm.o
31 obj-y += mpparse.o
32 obj-y += nmi.o
33 obj-y += numa.o
34 obj-y += physdev.o
35 obj-y += rwlock.o
36 obj-y += setup.o
37 obj-y += shutdown.o
38 obj-y += smp.o
39 obj-y += smpboot.o
40 obj-y += srat.o
41 obj-y += string.o
42 obj-y += sysctl.o
43 obj-y += time.o
44 obj-y += trace.o
45 obj-y += traps.o
46 obj-y += usercopy.o
47 obj-y += x86_emulate.o
48 obj-y += machine_kexec.o
49 obj-y += crash.o
50 obj-y += tboot.o
52 obj-$(crash_debug) += gdbstub.o
54 $(TARGET): $(TARGET)-syms boot/mkelf32
55 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \
56 `$(NM) -nr $(TARGET)-syms | head -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'`
58 ALL_OBJS := $(BASEDIR)/arch/x86/boot/built_in.o $(ALL_OBJS)
60 $(TARGET)-syms: $(ALL_OBJS) xen.lds
61 $(MAKE) -f $(BASEDIR)/Rules.mk $(BASEDIR)/common/symbols-dummy.o
62 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
63 $(BASEDIR)/common/symbols-dummy.o -o $(@D)/.$(@F).0
64 $(NM) -n $(@D)/.$(@F).0 | $(BASEDIR)/tools/symbols >$(@D)/.$(@F).0.S
65 $(MAKE) -f $(BASEDIR)/Rules.mk $(@D)/.$(@F).0.o
66 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
67 $(@D)/.$(@F).0.o -o $(@D)/.$(@F).1
68 $(NM) -n $(@D)/.$(@F).1 | $(BASEDIR)/tools/symbols >$(@D)/.$(@F).1.S
69 $(MAKE) -f $(BASEDIR)/Rules.mk $(@D)/.$(@F).1.o
70 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
71 $(@D)/.$(@F).1.o -o $@
72 rm -f $(@D)/.$(@F).[0-9]*
74 asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(HDRS)
75 $(CC) $(CFLAGS) -S -o $@ $<
77 xen.lds: $(TARGET_SUBARCH)/xen.lds.S $(HDRS)
78 $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $<
80 boot/mkelf32: boot/mkelf32.c
81 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
83 .PHONY: clean
84 clean::
85 rm -f asm-offsets.s xen.lds boot/*.o boot/*~ boot/core boot/mkelf32
86 rm -f $(BASEDIR)/.xen-syms.[0-9]*