Modules/FAT - Slight improvement to detection code
[tpg/acess2.git] / KernelLand / Modules / Makefile.tpl
index 040ea7c..19fd77e 100644 (file)
@@ -13,7 +13,7 @@ CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Ker
 CPPFLAGS += -I$(ACESSDIR)/KernelLand/Modules
 CPPFLAGS += -DARCH=$(ARCH) -DARCH_is_$(ARCH) -DARCHDIR_is_$(ARCHDIR)
 CPPFLAGS += $(_CPPFLAGS)
-CPPFLAGS += $(LIBINCLUDES)
+CPPFLAGS += $(LIBINCLUDES) -ffreestanding
 CFLAGS := -std=gnu99 -Wall -fno-stack-protector -g -O3
 CFLAGS += -Werror
 
@@ -55,6 +55,7 @@ ifneq ($(BUILDTYPE),static)
        @gzip -c $(BIN) > $(BIN).gz
        $(xCP) $(BIN).gz $(DISTROOT)/$(ARCH)/Modules/$(NAME).kmd.gz
 else
+       @true
 endif
 
 

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