X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FMakefile.tpl;h=a5ea222abe066d0291ea2004a65a1653d7a5f5f2;hb=9e64659133d3c12fb6e315ae8de74d9b912f90dd;hp=19fd77ea4640789040c49c83ca70db2cd326e0b6;hpb=d0b4559f2936f6d9f06be0f7c3c51527a480ec0d;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index 19fd77ea..a5ea222a 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -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) @@ -74,6 +75,7 @@ obj-$(_SUFFIX)/%.o: %.c Makefile $(CFGFILES) @echo --- $(CC) -o $@ @mkdir -p $(dir $@) @$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< - @$(CC) -M $(CPPFLAGS) -MT $@ -o obj-$(_SUFFIX)/$*.d $< + @$(CC) -M $(CPPFLAGS) -MT $@ -MP -o obj-$(_SUFFIX)/$*.d $< -include $(DEPFILES) +# vim: ft=make