Signed-off-by: Zhenhua Luo <[email protected]>
---
 recipes-kernel/pkc-host/pkc-host_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-kernel/pkc-host/pkc-host_git.bb 
b/recipes-kernel/pkc-host/pkc-host_git.bb
index 3343f19..bdee700 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
-- 
2.4.11

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to