sdiahci: Need to properly initialize spinlock.
[akaros.git] / Makefile
index 35ade64..0bbc408 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -363,7 +363,7 @@ CFLAGS_KERNEL += -O2 -pipe -MD
 CFLAGS_KERNEL += -std=gnu99 -fgnu89-inline
 CFLAGS_KERNEL += -fno-strict-aliasing -fno-omit-frame-pointer
 CFLAGS_KERNEL += -fno-stack-protector
-CFLAGS_KERNEL += -Wall -Wno-format -Wno-unused -Werror
+CFLAGS_KERNEL += -Wall -Wno-format -Wno-unused -Werror -Wreturn-type
 CFLAGS_KERNEL += -DROS_KERNEL 
 CFLAGS_KERNEL += -include include/generated/autoconf.h -include include/common.h
 CFLAGS_KERNEL += -fplan9-extensions
@@ -396,7 +396,7 @@ export NOSTDINC_FLAGS XCC_TARGET_ROOT XCC_TARGET_LIB XCC_TARGET_INCLUDE
 export KBUILD_BUILTIN KBUILD_CHECKSRC
 
 CFLAGS_USER += -O2 -std=gnu99 -fno-stack-protector -fgnu89-inline \
-               -Wsystem-headers -Werror
+               -Wsystem-headers -Werror -Wreturn-type
 CXXFLAGS_USER += -O2
 CFLAGS_USER_LIBS += -fPIC -static -fno-omit-frame-pointer -g
 
@@ -596,7 +596,7 @@ benchutil: parlib
 pthread: parlib benchutil
 iplib: parlib
 ndblib: iplib
-vmm: parlib benchutil
+vmm: parlib benchutil iplib ndblib
 
 PHONY += install-libs $(user-dirs)
 install-libs: $(user-dirs) symlinks cc-exists
@@ -701,6 +701,7 @@ apps-clean: $(app-dirs-clean)
        @$(call make_as_parent, -C tools/apps/ipconfig clean)
        @$(call make_as_parent, -C tools/dev-libs/elfutils clean)
        @$(call make_as_parent, -C tools/dev-util/perf clean)
+       @$(call make_as_parent, -C tools/sys-apps/bash clean)
 
 # Cross Compiler
 # =========================================================================