X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fbuild%2FMakefile;h=c50323ebac5dc88c1e29eb6d1fa915c7685a8f87;hb=746934f539c53c6fc687890c02ebf886c6873342;hp=8f2da64ac15266b95cefe577e7e7793e4e569e1b;hpb=9b31f917eae9b397cb21ff78d81084301b289e43;p=palacios.releases.git diff --git a/palacios/build/Makefile b/palacios/build/Makefile index 8f2da64..c50323e 100644 --- a/palacios/build/Makefile +++ b/palacios/build/Makefile @@ -53,11 +53,11 @@ VPATH := $(PROJECT_ROOT)/src # ifeq ($(LEAN_AND_MEAN),1) -DEBUG=0 -DEBUG_SECTIONS= +DEBUG := 0 +DEBUG_SECTIONS := else -DEBUG=1 -DEBUG_SECTIONS= +DEBUG := 1 +DEBUG_SECTIONS := endif @@ -229,7 +229,7 @@ endif # List of targets to build by default. # These targets encompass everything needed to boot # and run GeekOS. -ALL_TARGETS := vmm vm_kernel +ALL_TARGETS := vmm force_payload VMM_OBJS := \ @@ -264,6 +264,10 @@ VMM_OBJS := \ palacios/svm_lowlevel.o \ palacios/vmm_msr.o \ palacios/svm_msr.o \ + palacios/vmm_socket.o \ + palacios/vmm_xed.o \ + palacios/vmm_rbtree.o \ + palacios/vmm_profiler.o \ # vmx.c vmcs_gen.c vmcs.c @@ -277,8 +281,8 @@ XED_OBJS := \ xed/v3-xed-compat.o \ xed/v3-udiv-compat.o \ -$(XED_OBJS) :: EXTRA_CFLAGS = - +$(XED_OBJS) :: EXTRA_CFLAGS = \ + $(JRLDEBUG) \ DEVICES_OBJS := \ devices/generic.o \ @@ -293,19 +297,8 @@ DEVICES_OBJS := \ devices/cdrom.o \ devices/bochs_debug.o \ -$(DEVICES_OBJS) :: EXTRA_CFLAGS = - -# -# DECODER is the decoder that will be used -# currently we only support xed -# -DECODER=XED - -ifeq ($(DECODER),XED) -VMM_OBJS += palacios/vmm_xed.o -else -# This is an error -endif +$(DEVICES_OBJS) :: EXTRA_CFLAGS = \ + $(JRLDEBUG) \ @@ -398,11 +391,12 @@ CC_GENERAL_OPTS = \ $(EXTRA_C_OPTS) \ $(VMM_FLAGS) \ -I$(PROJECT_ROOT)/include \ - -fPIC \ -Werror \ + -fPIC \ -Wp,-MD,$(@D)/.$(@F).d \ -Wp,-MT,$@ \ +#-fPIC \ #-fvisibility=hidden