1 include $(PWD)/../.config
3 LDFLAGS += --whole-archive --script=$(PWD)/ld.cmd
6 LDFLAGS += --script=$(PWD)/ld.symmod.cmd
9 EXTRA_CFLAGS += -I$(PWD)/../palacios/include/ -include autoconf.h -DMODULE=1 -D__KERNEL__=1
12 v3vee-objs := palacios.o \
19 ifdef V3_CONFIG_CONSOLE
20 v3vee-objs += palacios-console.o
24 v3vee-objs += palacios-file.o
27 ifdef V3_CONFIG_STREAM
28 v3vee-objs += palacios-stream.o \
32 ifdef V3_CONFIG_EXT_INSPECTOR
33 v3vee-objs += palacios-inspector.o
37 v3vee-objs += palacios-vnet.o \
38 palacios-vnet-ctrl.o \
42 ifdef V3_CONFIG_PACKET
43 v3vee-objs += palacios-packet.o
46 ifdef V3_CONFIG_SOCKET
47 v3vee-objs += palacios-socket.o
50 ifdef V3_CONFIG_KEYED_STREAMS
51 v3vee-objs += palacios-keyed-stream.o
54 ifdef V3_CONFIG_HOST_DEVICE
55 v3vee-objs += palacios-host-dev.o
58 ifdef V3_CONFIG_GRAPHICS_CONSOLE
59 v3vee-objs += palacios-graphics-console.o
64 v3vee-objs += ../libv3vee.a
73 $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) modules
78 $(MAKE) -C $(V3_CONFIG_LINUX_KERN) M=$(PWD) clean