X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=kitten%2FMakefile;h=34076818448a70aa965d1b04736c5f3eb4d26ca2;hb=9029ed7acfdc4bb51342173384e1861621044d12;hp=99507c034b74ca3c7d12c6f5ed98f9f39c82bef7;hpb=07c81e9a7c58c1b7f4adce4e3db04d5aa65993d6;p=palacios-OLD.git diff --git a/kitten/Makefile b/kitten/Makefile index 99507c0..3407681 100644 --- a/kitten/Makefile +++ b/kitten/Makefile @@ -301,7 +301,6 @@ AFLAGS_KERNEL = # Use LWKINCLUDE when you must reference the include/ directory. # Needed to be compatible with the O= option LWKINCLUDE := -Iinclude \ - -I../palacios/include \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ -include include/lwk/autoconf.h @@ -497,6 +496,11 @@ ifdef CONFIG_DEBUG_INFO CFLAGS += -g endif +ifdef CONFIG_V3VEE +CFLAGS += -I../palacios/include +endif + + include $(srctree)/arch/$(ARCH)/Makefile # arch Makefile may override CC so keep this after arch Makefile is included @@ -531,6 +535,7 @@ export MODLIB ifeq ($(KBUILD_EXTMOD),) #core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ core-y += kernel/ mm/ +core-$(CONFIG_V3VEE) += palacios-glue/ vmlwk-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \