X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=misc%2Ftest_vm%2Fbuild%2FMakefile;h=62c901d95f4a1e1c74e00da08c6a349fe17eb440;hp=bacef9f17aaafcbe8a6afa656b53622c8675ec22;hb=4b8b4ad83c037fa685a3bb8f3a681cf0b617ae9c;hpb=c26e014007c1b78e957b8cd1d920006754a76661 diff --git a/misc/test_vm/build/Makefile b/misc/test_vm/build/Makefile index bacef9f..62c901d 100644 --- a/misc/test_vm/build/Makefile +++ b/misc/test_vm/build/Makefile @@ -38,14 +38,11 @@ KERNEL_ENTRY = $(SYM_PFX)Main PROJECT_ROOT := .. VPATH := $(PROJECT_ROOT)/src -#when -DNDEBUG is set the kassert functions are disabled -#JRLDEBUG=-DNDEBUG -JRLDEBUG= -DSERIAL_PRINT_DEBUG=1 -DSERIAL_PRINT_DEBUG_LEVEL=1000 -DSERIAL_PRINT=1 +ifeq ($(DEBUG_SERIAL),1) +JRL_DEBUG := -DDEBUG_SERIAL +endif + -# -# -#Peter's compile flags -PAD= # Figure out if we're compiling with cygwin, http://cygwin.com SYSTEM_NAME := $(shell uname -s) @@ -177,7 +174,7 @@ NUMSECS := $(PERL) $(PROJECT_ROOT)/scripts/numsecs # ---------------------------------------------------------------------- # Flags used for all C source files -GENERAL_OPTS := -O -Wall $(EXTRA_C_OPTS) $(JRLDEBUG) $(PADFLAGS) +GENERAL_OPTS := -O -Wall $(EXTRA_C_OPTS) $(JRL_DEBUG) CC_GENERAL_OPTS := $(GENERAL_OPTS) -Werror # Flags used for kernel C source files