66 lines
2.4 KiB
Diff
66 lines
2.4 KiB
Diff
diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
|
|
index ab7a727..e3ec9d2 100644
|
|
--- a/vmblock-only/Makefile.kernel
|
|
+++ b/vmblock-only/Makefile.kernel
|
|
@@ -19,7 +19,7 @@
|
|
|
|
INCLUDE += -I$(SRCROOT)/include
|
|
|
|
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
|
|
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
|
|
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
|
|
diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
|
|
index ba343ee..861ea83 100644
|
|
--- a/vmci-only/Makefile.kernel
|
|
+++ b/vmci-only/Makefile.kernel
|
|
@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
|
|
|
|
INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
|
|
|
|
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
|
|
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
|
|
|
|
obj-m += $(DRIVER).o
|
|
|
|
diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
|
|
index 8770d1d..c4746c3 100644
|
|
--- a/vmmon-only/Makefile.kernel
|
|
+++ b/vmmon-only/Makefile.kernel
|
|
@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
|
|
INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
|
|
-I$(SRCROOT)/vmcore
|
|
|
|
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
|
|
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
|
|
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
|
|
|
|
diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
|
|
index d1e3133..665d428 100644
|
|
--- a/vmnet-only/Makefile.kernel
|
|
+++ b/vmnet-only/Makefile.kernel
|
|
@@ -19,7 +19,7 @@
|
|
|
|
INCLUDE := -I$(SRCROOT)
|
|
|
|
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
|
|
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
|
|
diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
|
|
index b4629ee..264b8cb 100644
|
|
--- a/vsock-only/Makefile.kernel
|
|
+++ b/vsock-only/Makefile.kernel
|
|
@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
|
|
INCLUDE += -I$(SRCROOT)/linux
|
|
INCLUDE += -I$(SRCROOT)/common
|
|
|
|
-EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
|
|
+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
|
|
EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )
|
|
|
|
|