X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2FMakefile;h=d89f187cc8a75475ea144ac3eacd45762e7ae090;hb=fd288e4dc51177f037f4752861eb95971fb1d1a0;hp=86d16a408dffceb7ab5fa9ea1b3a18cfa4793011;hpb=276cfa264720edddc1677e35c6a300596965de7d;p=palacios.git diff --git a/linux_module/Makefile b/linux_module/Makefile index 86d16a4..d89f187 100644 --- a/linux_module/Makefile +++ b/linux_module/Makefile @@ -6,16 +6,23 @@ ifdef V3_CONFIG_SYMMOD LDFLAGS += --script=$(PWD)/ld.symmod.cmd endif +ifdef V3_CONFIG_CHECKPOINT +LDFLAGS += --script=$(PWD)/ld.chkpt.cmd +endif + EXTRA_CFLAGS += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1 -v3vee-y := os_stubs.o \ +v3vee-y := palacios-stubs.o \ main.o \ vm.o \ mm.o \ + allow_devmem.o \ util-queue.o \ util-hashtable.o \ - linux-exts.o + linux-exts.o \ + buddy.o \ + numa.o v3vee-$(V3_CONFIG_CONSOLE) += iface-console.o v3vee-$(V3_CONFIG_FILE) += iface-file.o @@ -27,11 +34,30 @@ v3vee-$(V3_CONFIG_SOCKET) += iface-socket.o v3vee-$(V3_CONFIG_KEYED_STREAMS) += iface-keyed-stream.o v3vee-$(V3_CONFIG_HOST_DEVICE) += iface-host-dev.o v3vee-$(V3_CONFIG_GRAPHICS_CONSOLE) += iface-graphics-console.o +v3vee-$(V3_CONFIG_EXT_MACH_CHECK) += mcheck.o + +v3vee-$(V3_CONFIG_MEM_TRACK) += memtrack.o + +v3vee-$(V3_CONFIG_HOST_PMU) += iface-pmu.o +v3vee-$(V3_CONFIG_HOST_PWRSTAT) += iface-pwrstat.o +v3vee-$(V3_CONFIG_HOST_PSTATE_CTRL) += iface-pstate-ctrl.o v3vee-$(V3_CONFIG_VNET) += palacios-vnet.o \ palacios-vnet-ctrl.o \ palacios-vnet-brg.o +v3vee-$(V3_CONFIG_HOST_HYPERCALL) += iface-host-hypercall.o +v3vee-$(V3_CONFIG_EXT_CODE_INJECT) += iface-code-inject.o +v3vee-$(V3_CONFIG_EXT_ENV_INJECT) += iface-env-inject.o +v3vee-$(V3_CONFIG_EXT_SELECTIVE_SYSCALL_EXIT) += iface-syscall.o +v3vee-$(V3_CONFIG_EXT_GUARD_MODULES) += iface-guard-mods.o + + +v3vee-$(V3_CONFIG_HOST_PCI) += iface-host-pci.o + +v3vee-$(V3_CONFIG_DEBUG_LOCKS) += lockcheck.o +v3vee-$(V3_CONFIG_DEBUG_MEM_ALLOC) += memcheck.o + v3vee-objs := $(v3vee-y) ../libv3vee.a obj-m := v3vee.o