1 include $(PWD)/../.config
3 LDFLAGS += --whole-archive --script=$(PWD)/ld.cmd
6 LDFLAGS += --script=$(PWD)/ld.symmod.cmd
9 ifdef V3_CONFIG_CHECKPOINT
10 LDFLAGS += --script=$(PWD)/ld.chkpt.cmd
13 EXTRA_CFLAGS += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
16 v3vee-y := palacios-stubs.o \
24 v3vee-$(V3_CONFIG_CONSOLE) += iface-console.o
25 v3vee-$(V3_CONFIG_FILE) += iface-file.o
26 v3vee-$(V3_CONFIG_STREAM) += iface-stream.o \
28 v3vee-$(V3_CONFIG_EXT_INSPECTOR) += inspector.o
29 v3vee-$(V3_CONFIG_PACKET) += iface-packet.o
30 v3vee-$(V3_CONFIG_SOCKET) += iface-socket.o
31 v3vee-$(V3_CONFIG_KEYED_STREAMS) += iface-keyed-stream.o
32 v3vee-$(V3_CONFIG_HOST_DEVICE) += iface-host-dev.o
33 v3vee-$(V3_CONFIG_GRAPHICS_CONSOLE) += iface-graphics-console.o
34 v3vee-$(V3_CONFIG_EXT_MACH_CHECK) += mcheck.o
36 v3vee-$(V3_CONFIG_VNET) += palacios-vnet.o \
37 palacios-vnet-ctrl.o \
40 v3vee-$(V3_CONFIG_HOST_HYPERCALL) += iface-host-hypercall.o
41 v3vee-$(V3_CONFIG_EXT_CODE_INJECT) += iface-code-inject.o
42 v3vee-$(V3_CONFIG_EXT_ENV_INJECT) += iface-env-inject.o
43 v3vee-$(V3_CONFIG_EXT_SELECTIVE_SYSCALL_EXIT) += iface-syscall.o
46 v3vee-objs := $(v3vee-y) ../libv3vee.a
51 $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
54 $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean