The original method to remove -Werror using sed does not work on kernels after 3.1 due to trailing space. To avoid build failures due to warnings as errors add the WERROR env variable. --- Konrad Scherer, MTS, Linux Products Group, Wind River