#
ifeq ($(LEAN_AND_MEAN),1)
-DEBUG=0
-DEBUG_SECTIONS=
+DEBUG := 0
+DEBUG_SECTIONS :=
else
-DEBUG=1
-DEBUG_SECTIONS=
+DEBUG := 1
+DEBUG_SECTIONS :=
endif
xed/v3-xed-compat.o \
xed/v3-udiv-compat.o \
-$(XED_OBJS) :: EXTRA_CFLAGS =
-
+$(XED_OBJS) :: EXTRA_CFLAGS = \
+ $(JRLDEBUG) \
DEVICES_OBJS := \
devices/generic.o \
devices/cdrom.o \
devices/bochs_debug.o \
-$(DEVICES_OBJS) :: EXTRA_CFLAGS =
-
+$(DEVICES_OBJS) :: EXTRA_CFLAGS = \
+ $(JRLDEBUG) \
#
# DECODER is the decoder that will be used
# currently we only support xed
DECODER=XED
ifeq ($(DECODER),XED)
-VMM_OBJS += palacios/vmm_xed.o
+VMM_OBJS += palacios/vmm_xed.o
else
# This is an error
endif
$(VMM_FLAGS) \
-I$(PROJECT_ROOT)/include \
-Werror \
+ -fPIC \
-Wp,-MD,$(@D)/.$(@F).d \
-Wp,-MT,$@ \