X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=kitten%2FMakefile;h=2a43e80309cdd42f99b92ea23f0367f4c3a29891;hb=ad9eac2585dced281946bb716e3c2d96584a25fa;hp=99507c034b74ca3c7d12c6f5ed98f9f39c82bef7;hpb=c33dac67849ea2f7171f8bac8977b824e6626e6d;p=palacios-OLD.git diff --git a/kitten/Makefile b/kitten/Makefile index 99507c0..2a43e80 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