From bb55b0a8d148d78463b50c5f08ab0b9bf57ab03a Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 3 Jun 2016 15:49:34 +0800 Subject: pkc-host: disable -Werror Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- recipes-kernel/pkc-host/pkc-host_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-kernel') 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 -- cgit v1.2.3-54-g00ecf