ia64/xen-unstable

view stubdom/caml/Makefile @ 18521:e61c7833dc9d

CPUIDLE: Handle C2 LAPIC timer & TSC stop

ACPI C2 is quite possible mapped to CPU C3 or deeper state, so
thinking from worst cases, enable C3 like entry/exit handling for C2
by default. Option 'lapic_timer_c2_ok' can be used to select simple C2
entry/exit only if the user make sure that LAPIC tmr & TSC will not be
stop during C2.

Signed-off-by: Wei Gang <gang.wei@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Sep 22 11:24:02 2008 +0100 (2008-09-22)
parents 7e00ebe2b7fd
children e0221531d0e5
line source
1 XEN_ROOT = ../..
3 include $(XEN_ROOT)/Config.mk
5 CAMLLIB = $(shell ocamlc -where)
6 DEF_CPPFLAGS += -I$(CAMLLIB)
8 OCAMLFIND=ocamlfind
9 OCAMLOPT=ocamlopt
11 OBJS := hello.cmx
12 LIBS :=
14 all: main-caml.o caml.o
16 %.cmx: %.ml
17 $(OCAMLFIND) $(OCAMLOPT) -c $< -o $@
19 caml.o: $(OBJS)
20 $(OCAMLFIND) $(OCAMLOPT) $(LIBS) $^ -output-obj -o $@
22 clean:
23 rm -f *.a *.o *.cmx *.cmi