X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FMakefile.tpl;h=e2ef60a233841357a27317b5c56b6ddb96e9642e;hb=3d9c87713549b06c4505b15f37ef8e9785d0ab0d;hp=f1c31a57fa11fd0a610c8732f7d6f2db1841d634;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index f1c31a57..e2ef60a2 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -6,14 +6,15 @@ _CPPFLAGS := $(CPPFLAGS) -include $(dir $(lastword $(MAKEFILE_LIST)))../Makefile.cfg -LIBINCLUDES := $(addprefix -I$(ACESSDIR)/Modules/,$(DEPS)) +LIBINCLUDES := $(addprefix -I$(ACESSDIR)/KernelLand/Modules/,$(DEPS)) LIBINCLUDES := $(addsuffix /include,$(LIBINCLUDES)) -CPPFLAGS := -I$(ACESSDIR)/Kernel/include -I$(ACESSDIR)/Kernel/arch/$(ARCHDIR)/include +CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Kernel/arch/$(ARCHDIR)/include CPPFLAGS += -DARCH=$(ARCH) -DARCH_is_$(ARCH) -DARCHDIR_is_$(ARCHDIR) CPPFLAGS += $(_CPPFLAGS) CPPFLAGS += $(LIBINCLUDES) CFLAGS := -std=gnu99 -Wall -fno-stack-protector -g -O3 +CFLAGS += -Werror ifneq ($(CATEGORY),) FULLNAME := $(CATEGORY)_$(NAME)