From 6c704ca6e71a9b0ddd6204f2f3aa619c0f1c5727 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 18 Feb 2020 20:45:09 +0200 Subject: platforms: imx7: Add -Wno-error for BSP kernels Use the new extra_kcflags mechanism to disable treating warnings as errors for BSP kernels. Signed-off-by: Laurent Pinchart --- platforms/imx7.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/imx7.sh b/platforms/imx7.sh index 88add42..ee048b2 100644 --- a/platforms/imx7.sh +++ b/platforms/imx7.sh @@ -4,3 +4,5 @@ arch=arm dtbs="imx7d-sx-pl-emar.dtb imx7d-sx-pl-test.dtb" image=zImage loadaddr=0x80008000 +# For as long as we're stuck with the BSP +extra_kcflags[4.9.87]="-Wno-error" -- cgit v1.2.3