X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2FMakefile;h=99823e1a6a8cff86ddede7db6161ce9556b32615;hb=13230ccb05189ab1a615d28d78f1a8b19858e422;hp=86d16a408dffceb7ab5fa9ea1b3a18cfa4793011;hpb=276cfa264720edddc1677e35c6a300596965de7d;p=palacios.releases.git diff --git a/linux_module/Makefile b/linux_module/Makefile index 86d16a4..99823e1 100644 --- a/linux_module/Makefile +++ b/linux_module/Makefile @@ -6,16 +6,21 @@ 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 v3vee-$(V3_CONFIG_CONSOLE) += iface-console.o v3vee-$(V3_CONFIG_FILE) += iface-file.o @@ -27,11 +32,26 @@ 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_HOST_PMU) += iface-pmu.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