From 0a1903aa8e3f4c8063ba46ae708c62fc6bac4a6e Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 27 May 2021 12:43:17 +0100
Subject: [PATCH] Remove debug-tweaks for non-linux flavours

This distro configuration only really applies on Linux builds. We have
set it for other kernels in the past to workaround some bugs - fixes
were upstreamed in the meanwhile. So we can remove all these from our
local.conf samples.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 flavours/freertos/local.conf.sample | 5 -----
 flavours/zephyr/local.conf.sample   | 2 --
 2 files changed, 7 deletions(-)

diff --git a/flavours/freertos/local.conf.sample b/flavours/freertos/local.conf.sample
index eb0f5e84..9b6d5f61 100644
--- a/flavours/freertos/local.conf.sample
+++ b/flavours/freertos/local.conf.sample
@@ -63,11 +63,6 @@ PACKAGE_CLASSES ?= "package_rpm"
 #                     e.g. ssh root access has a blank password
 # There are other application targets that can be used here too, see
 # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
-# We default to enabling the debugging tweaks.
-#
-# Building FreeRTOS using meta-freertos is currently failing without debug-tweaks!
-#
-EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
 
 # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
 # track the version of this file when it was generated. This can safely be ignored if
diff --git a/flavours/zephyr/local.conf.sample b/flavours/zephyr/local.conf.sample
index 1de45564..3e763e9d 100644
--- a/flavours/zephyr/local.conf.sample
+++ b/flavours/zephyr/local.conf.sample
@@ -125,8 +125,6 @@ PACKAGE_CLASSES ?= "package_rpm"
 #                     e.g. ssh root access has a blank password
 # There are other application targets that can be used here too, see
 # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
-# We default to enabling the debugging tweaks.
-EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
 
 #
 # Additional image features
-- 
GitLab