From: John Hodge Date: Fri, 22 Oct 2010 06:26:39 +0000 (+0800) Subject: Cleaning up debug (and set modules to build with debug) X-Git-Tag: rel0.06~9 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a054fab667b0ebb7ea2c91181a961b3fdcc330a1;p=tpg%2Facess2.git Cleaning up debug (and set modules to build with debug) --- diff --git a/Kernel/vfs/main.c b/Kernel/vfs/main.c index cd9c4518..4fe8cf96 100644 --- a/Kernel/vfs/main.c +++ b/Kernel/vfs/main.c @@ -72,10 +72,10 @@ char *VFS_GetTruePath(char *Path) tmp = VFS_GetAbsPath(Path); if(tmp == NULL) return NULL; - Log(" VFS_GetTruePath: tmp = '%s'", tmp); + //Log(" VFS_GetTruePath: tmp = '%s'", tmp); node = VFS_ParsePath(tmp, &ret); free(tmp); - Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret); + //Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret); if(!node) return NULL; if(node->Close) node->Close(node); diff --git a/Modules/Makefile.tpl b/Modules/Makefile.tpl index 2fabb12f..1a10e1c5 100644 --- a/Modules/Makefile.tpl +++ b/Modules/Makefile.tpl @@ -12,7 +12,7 @@ CFGFILES += $(shell test -f Makefile.cfg && echo Makefile.cfg) -include $(CFGFILES) CPPFLAGS := -I$(ACESSDIR)/Kernel/include -I$(ACESSDIR)/Kernel/arch/$(ARCHDIR)/include -DARCH=$(ARCH) $(_CPPFLAGS) -CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) -O3 -fno-builtin +CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) -g -O3 -fno-builtin ifneq ($(CATEGORY),) FULLNAME := $(CATEGORY)_$(NAME)