core-y := palacios/src/palacios/
libs-y := palacios/lib/$(ARCH)/
devices-y := palacios/src/devices/
+interfaces-y := palacios/src/interfaces/
modules-y := modules/
palacios-dirs := $(patsubst %/,%,$(filter %/, \
- $(core-y) $(devices-y) $(libs-y)) $(modules-y))
+ $(core-y) $(devices-y) $(interfaces-y) $(libs-y)) $(modules-y))
palacios-cleandirs := $(sort $(palacios-dirs) $(patsubst %/,%,$(filter %/, \
- $(core-n) $(core-) $(devices-n) $(devices-) $(modules-n) $(modules-))))
+ $(core-n) $(core-) $(devices-n) $(devices-) \
+ $(interfaces-n) $(interfaces-) $(modules-n) $(modules-))))
core-y := $(patsubst %/, %/built-in.o, $(core-y))
devices-y := $(patsubst %/, %/built-in.o, $(devices-y))
+interfaces-y := $(patsubst %/, %/built-in.o, $(interfaces-y))
libs-y := $(patsubst %/, %/built-in.o, $(libs-y))
modules-y := $(patsubst %/, %/built-in.o, $(modules-y))
#lnxmod-y := $(patsubst %/, %/built-in.o, $(lnxmod-y))
-palacios := $(core-y) $(devices-y) $(libs-y) $(modules-y)
+palacios := $(core-y) $(devices-y) $(interfaces-y) $(libs-y) $(modules-y)
# Rule to link palacios - also used during CONFIG_CONFIGKALLSYMS
-linux_module/v3vee.ko: linux_module/*.c libv3vee.a
+linux_module/v3vee.ko: linux_module/*.c linux_module/*.h libv3vee.a
cd linux_module/ && make CONFIG_LINUX_KERN=$(CONFIG_LINUX_KERN)
cp linux_module/v3vee.ko v3vee.ko