diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000000000000000000000000000000000..07d1cb26697a9919f56d9d2319533b8e8fc67bf8
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,35 @@
+root = true
+
+[*]
+end_of_line = LF
+charset = utf-8
+
+[*.cc]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 80
+
+[*.c]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 80
+
+[*.h]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 80
+
+
+[*.py]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+max_line_length = 80
+
diff --git a/gen_build_env.sh b/gen_build_env.sh
deleted file mode 100755
index 505fdf3909c145561b479a1179bd6a72c6220746..0000000000000000000000000000000000000000
--- a/gen_build_env.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/bash
-
-#
-# Helper script generate a build environment.
-#
-# !!! Call the script from within your out-of-source build dir !!!!
-#
-# author: Martin Hoffmann, Peter Ulbrich
-#
-#set -x
-echo "============================"
-echo "Generating Build Environment"
-echo "============================"
-echo ""
-
-# Get repository base dir from script location
-REPODIR=$(dirname $0)/
-GENERATOR="Unix Makefiles"
-
-if [ "$2" == "eclipse" ]
-then
-	GENERATOR="Eclipse CDT4 - Unix Makefiles"
-fi
-
-if [ "$2" == "ninja" ]
-then
-	GENERATOR="Eclipse CDT4 - Ninja"
-fi
-
-if [ "$1" == "i386" ]
-then
-	ARCH=i386
-elif [ "$1" == "posix" ]
-then
-	ARCH=posix
-else
-	# Default Architecture i386
-	ARCH=i386
-	echo "Default architecture: $ARCH"
-fi
-
-# Call cmake appropriately
-if [ $ARCH ]
-then
-	echo "Setting up build environment [$ARCH]:"
-	cmake $REPODIR -DCMAKE_EXPORT_COMPILE_COMMANDS=ON  -DCMAKE_TOOLCHAIN_FILE="$REPODIR/toolchain/$ARCH.cmake" -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "${GENERATOR}"
-# We call cmake twice, as the crosscompiler linking does not work otherwise. Don't know why yet..
-#	cmake $REPODIR
-else
-	echo "Currently supported:"
-	echo "     * i386"
-	echo "     * posix"
-	echo "Per default an Eclipse Makefile project file is generated."
-	echo "To change to Ninja add 'ninja' as second parameter. (Needs cmake >= 2.8.9 !)"
-	echo ""
-	echo "Usage: "
-	echo "     $0 [i386,posix] <ninja>"
-	echo ""
-	exit 1
-fi
-
diff --git a/static_analysis/CMakeLists.txt b/static_analysis/CMakeLists.txt
index cb9fa3cb18320bcad7518648deb73dc30ca0799b..9091d4800fe51fd4b04cbccfd39ae7bbfbc61d98 100644
--- a/static_analysis/CMakeLists.txt
+++ b/static_analysis/CMakeLists.txt
@@ -16,10 +16,10 @@ if(CPPCHECK)
     foreach(dir ${INCLUDEDIRS})
         file(APPEND ${CPPINCLUDES} "${dir}\n")
     endforeach()
-    if(BUILD_posix)
+#    if(BUILD_posix)
         file(APPEND ${CPPINCLUDES} "/usr/include\n")
         file(APPEND ${CPPINCLUDES} "/usr/include/linux\n")
-    endif()
+#    endif()
 
 
     add_custom_target( cppcheck