debuggers.hg

view xen/arch/ia64/Makefile @ 4619:5b9e241131fb

bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)

Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 20 08:51:33 2005 +0000 (2005-04-20)
parents 445b12a7221a 58efb3448933
children ba75d06d25c5 79b7835ac75d
line source
1 include $(BASEDIR)/Rules.mk
3 # libs-y += arch/ia64/lib/lib.a
5 OBJS = xensetup.o setup.o time.o irq.o ia64_ksyms.o process.o smp.o \
6 xenmisc.o pdb-stub.o acpi.o hypercall.o \
7 machvec.o dom0_ops.o domain.o \
8 idle0_task.o pal.o hpsim.o efi.o efi_stub.o ivt.o mm_contig.o \
9 sal.o cmdline.o mm_init.o tlb.o smpboot.o \
10 extable.o linuxextable.o \
11 regionreg.o entry.o unaligned.o privop.o vcpu.o \
12 irq_ia64.o irq_lsapic.o hpsim_irq.o vhpt.o xenasm.o dom_fw.o
13 # perfmon.o
14 # unwind.o needed for kernel unwinding (rare)
16 OBJS := $(subst $(TARGET_ARCH)/asm-offsets.o,,$(OBJS))
18 # remove following line if not privifying in memory
19 # OBJS += privify.o
21 default: $(OBJS) head.o ia64lib.o xen.lds.s
22 $(LD) -r -o arch.o $(OBJS) ia64lib.o
23 $(LD) $(LDFLAGS) -T $(BASEDIR)/arch/$(TARGET_ARCH)/xen.lds.s -N \
24 -Map map.out head.o $(ALL_OBJS) -o $(TARGET)-syms
25 $(OBJCOPY) -R .note -R .comment -S $(TARGET)-syms $(TARGET)
27 asm-offsets.s: asm-offsets.c
28 $(CC) $(CFLAGS) -S -o $@ $<
30 # I'm sure a Makefile wizard would know a better way to do this
31 xen.lds.s: xen.lds.S
32 $(CC) -E $(CPPFLAGS) -P -DXEN -D__ASSEMBLY__ \
33 -o xen.lds.s xen.lds.S
35 ia64lib.o:
36 $(MAKE) -C lib && cp lib/ia64lib.o .
38 clean:
39 rm -f *.o *~ core xen.lds.s $(BASEDIR)/include/asm-ia64/.offsets.h.stamp
40 rm -f lib/*.o
42 # setup.o contains bits of compile.h so it must be blown away
43 delete-unfresh-files:
44 echo any unfresh-files to delete for ia64\?
45 # rm -f setup.o
47 .PHONY: default clean delete-unfresh-files