debuggers.hg

view xen/common/Makefile @ 2633:fe2f4bbcf869

bitkeeper revision 1.1159.99.4 (41626f06VquclgVVpIeHy9z2K3jW-A)

Rationalise scheduler locking. A bit more conservative now, but much
simpler! I only applied this to the basic BVT scheduler -- the others
are still unsafe and have been removed from the basic build.
author kaf24@freefall.cl.cam.ac.uk
date Tue Oct 05 09:53:10 2004 +0000 (2004-10-05)
parents dae98734f12e
children ebe6012dace7
line source
2 include $(BASEDIR)/Rules.mk
4 ifeq ($(TARGET_ARCH),ia64)
5 OBJS := $(subst page_alloc.o,,$(OBJS))
6 OBJS := $(subst slab.o,,$(OBJS))
7 endif
9 ifneq ($(debugger),y)
10 OBJS := $(subst debug.o,,$(OBJS))
11 OBJS := $(subst debug-linux.o,,$(OBJS))
12 endif
14 ifneq ($(perfc),y)
15 OBJS := $(subst perfc.o,,$(OBJS))
16 endif
18 ifneq ($(trace),y)
19 OBJS := $(subst trace.o,,$(OBJS))
20 endif
22 ifneq ($(broken_schedulers),y)
23 OBJS := $(subst sched_atropos.o,,$(OBJS))
24 OBJS := $(subst sched_fair_bvt.o,,$(OBJS))
25 OBJS := $(subst sched_rrobin.o,,$(OBJS))
26 else
27 CFLAGS += -DBROKEN_SCHEDULERS
28 endif
30 default: $(OBJS)
31 $(LD) $(LDFLAGS) -r -o common.o $(OBJS)
33 clean:
34 rm -f *.o *~ core