X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=misc%2Ftest_vm%2Fbuild%2FMakefile;h=c38b9f4bcc511323658efdf29183be1f56430258;hp=47bd48ead4c7a02dabbdb7bd81e0a2e6e248f453;hb=ee177da9b30ebf340c63fb5b9d535c729f90134d;hpb=b86b717be870723228190fcc9c8233a511d95073 diff --git a/misc/test_vm/build/Makefile b/misc/test_vm/build/Makefile index 47bd48e..c38b9f4 100644 --- a/misc/test_vm/build/Makefile +++ b/misc/test_vm/build/Makefile @@ -38,14 +38,15 @@ KERNEL_ENTRY = $(SYM_PFX)Main PROJECT_ROOT := .. VPATH := $(PROJECT_ROOT)/src -#when -DNDEBUG is set the kassert functions are disabled -#JRLDEBUG=-DNDEBUG + + ifeq ($(SERIAL_DEBUG), 1) JRLDEBUG= -DDEBUG_SERIAL else JRLDEBUG= endif + # Figure out if we're compiling with cygwin, http://cygwin.com SYSTEM_NAME := $(shell uname -s) ifeq ($(findstring CYGWIN,$(SYSTEM_NAME)),CYGWIN) @@ -178,6 +179,7 @@ NUMSECS := $(PERL) $(PROJECT_ROOT)/scripts/numsecs # ---------------------------------------------------------------------- # Flags used for all C source files + GENERAL_OPTS := -O -Wall $(EXTRA_C_OPTS) $(JRLDEBUG) CC_GENERAL_OPTS := $(GENERAL_OPTS) -Werror