Modules/Makefile - added -fno-omit-frame-pointer to aid debugging
[tpg/acess2.git] / KernelLand / Modules / Makefile.tpl
index 19fd77e..98d0760 100644 (file)
@@ -11,11 +11,12 @@ LIBINCLUDES := $(addsuffix /include,$(LIBINCLUDES))
 
 CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Kernel/arch/$(ARCHDIR)/include
 CPPFLAGS += -I$(ACESSDIR)/KernelLand/Modules
+CPPFLAGS += -I$(ACESSDIR)/Usermode/Libraries/ld-acess.so_src/include_exp/
 CPPFLAGS += -DARCH=$(ARCH) -DARCH_is_$(ARCH) -DARCHDIR_is_$(ARCHDIR)
 CPPFLAGS += $(_CPPFLAGS)
 CPPFLAGS += $(LIBINCLUDES) -ffreestanding
 CFLAGS := -std=gnu99 -Wall -fno-stack-protector -g -O3
-CFLAGS += -Werror
+CFLAGS += -Werror -fno-omit-frame-pointer
 
 ifneq ($(CATEGORY),)
        FULLNAME := $(CATEGORY)_$(NAME)
@@ -77,3 +78,4 @@ obj-$(_SUFFIX)/%.o: %.c Makefile $(CFGFILES)
        @$(CC) -M $(CPPFLAGS) -MT $@ -o obj-$(_SUFFIX)/$*.d $<
 
 -include $(DEPFILES)
+# vim: ft=make

UCC git Repository :: git.ucc.asn.au