From 6f0a8e849ab33316b13ad38ea5c192b9d1a8fe61 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Wed, 26 Jan 2022 16:58:33 +0100
Subject: [PATCH] freertos/local.conf.sample: Avoid build warnings for rauc and
 security layers

Both layers are currently only targeting the linux flavour so we can
disable the warnings for the flavours where they are not in scope.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 flavours/freertos/local.conf.sample | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flavours/freertos/local.conf.sample b/flavours/freertos/local.conf.sample
index 57cffc68..a6272e60 100644
--- a/flavours/freertos/local.conf.sample
+++ b/flavours/freertos/local.conf.sample
@@ -82,3 +82,7 @@ CONF_VERSION = "2"
 # *and* the project you are building has a public sstate cache, you may choose to uncomment
 # this line and use the sstate cache published by Oniro Project.
 # SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
+
+# Avoid warnings for included layers
+SKIP_META_SECURITY_SANITY_CHECK = "1"
+SKIP_META_RAUC_FEATURE_CHECK = "1"
-- 
GitLab