X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=kitten%2FMakefile;h=2a43e80309cdd42f99b92ea23f0367f4c3a29891;hb=5393fbd7f71cd1b080169e8c36329191e380fd41;hp=99507c034b74ca3c7d12c6f5ed98f9f39c82bef7;hpb=07c81e9a7c58c1b7f4adce4e3db04d5aa65993d6;p=palacios.releases.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