X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FMakefile.tpl;h=e365e99d9ffb724b349443ca41df751e7cde552a;hb=45c91b880402af13c4b8f934c53780d7cba24aac;hp=0393b61961e10f4d0141553db274ac64771d8ea9;hpb=341da8d5cb692850e10b89cf5442ddf3186be07c;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index 0393b619..e365e99d 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -10,10 +10,12 @@ LIBINCLUDES := $(addprefix -I$(ACESSDIR)/KernelLand/Modules/,$(DEPS)) LIBINCLUDES := $(addsuffix /include,$(LIBINCLUDES)) CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Kernel/arch/$(ARCHDIR)/include +CPPFLAGS += -I$(ACESSDIR)/KernelLand/Modules 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)