Add MKMCONTEXT option

This commit is contained in:
Arun Thomas
2011-08-02 13:57:31 +02:00
parent 989934b37c
commit aaefc6f838
6 changed files with 21 additions and 5 deletions

View File

@@ -59,6 +59,12 @@ SRCS+= apic.c apic_asm.S
CPPFLAGS+= -DUSE_APIC
.endif
.if ${USE_MCONTEXT} != "no"
SRCS+= do_mcontext.c
CPPFLAGS+= -DUSE_MCONTEXT
.endif
# These come last, so the profiling buffer is at the end of the data segment
SRCS+= profile.c do_sprofile.c