From: Zhenhua Luo Date: Fri, 3 Jun 2016 07:49:34 +0000 (+0800) Subject: pkc-host: disable -Werror X-Git-Tag: 2.2~425 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bb55b0a8d148d78463b50c5f08ab0b9bf57ab03a;p=meta-freescale.git pkc-host: disable -Werror Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- diff --git a/recipes-kernel/pkc-host/pkc-host_git.bb b/recipes-kernel/pkc-host/pkc-host_git.bb index 3343f19e..bdee7007 100644 --- a/recipes-kernel/pkc-host/pkc-host_git.bb +++ b/recipes-kernel/pkc-host/pkc-host_git.bb @@ -17,6 +17,10 @@ S = "${WORKDIR}/git" EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' +do_compile_prepend() { + sed -i 's#-Werror##g' ${S}/Makefile +} + do_install() { oe_runmake INSTALL_MOD_PATH="${D}" modules_install install -d ${D}/etc/crypto