[meta-freescale] [meta-freescale-layer][PATCH 06/12] pkc-host: disable -Werror

Zhenhua Luo zhenhua.luo at nxp.com
Fri Jun 3 00:49:34 PDT 2016


Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
 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



More information about the meta-freescale mailing list