ia64/xen-unstable

view xen/arch/x86/Makefile @ 3377:4c2c41071357

bitkeeper revision 1.1159.212.3 (41da81905Ftkk0Mw5Oh9JMpyAopNkQ)

Makefile:
Remove extraneous text after `endif'.
author cl349@arcadians.cl.cam.ac.uk
date Tue Jan 04 11:44:16 2005 +0000 (2005-01-04)
parents 47157bca9ab0
children 0451cbfd268d 074d7606fd61
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 ifneq ($(TARGET_SUBARCH),x86_32)
16 OBJS := $(subst vmx.o,,$(OBJS))
17 OBJS := $(subst vmx_io.o,,$(OBJS))
18 OBJS := $(subst vmx_vmcs.o,,$(OBJS))
19 endif
21 default: boot/$(TARGET_SUBARCH).o $(OBJS) boot/mkelf32
22 $(LD) $(LDFLAGS) -r -o arch.o $(OBJS)
23 $(LD) $(LDFLAGS) -T $(TARGET_SUBARCH)/xen.lds -N \
24 boot/$(TARGET_SUBARCH).o $(ALL_OBJS) -o $(TARGET)-syms
25 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000
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 .PHONY: default clean