From 4a0dec6a5a16f16c5c88ea60af4796079be267fd Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Thu, 16 Nov 2023 10:05:29 +0100 Subject: [PATCH] subsys/bindesc: Fix kconfig dependency BINDESC can be used with any POSIX arch based target, not just native_posix. Fix the kconfig filter and the sample yaml filter. Signed-off-by: Alberto Escolar Piedras --- samples/subsys/bindesc/hello_bindesc/sample.yaml | 3 +-- subsys/bindesc/Kconfig | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/subsys/bindesc/hello_bindesc/sample.yaml b/samples/subsys/bindesc/hello_bindesc/sample.yaml index e923744c3d8..adea05379a2 100644 --- a/samples/subsys/bindesc/hello_bindesc/sample.yaml +++ b/samples/subsys/bindesc/hello_bindesc/sample.yaml @@ -3,7 +3,6 @@ sample: tests: sample.bindesc: tags: bindesc - filter: CONFIG_ARCH_SUPPORTS_ROM_START - build_only: true + filter: CONFIG_ARCH_SUPPORTS_ROM_START or CONFIG_ARCH_POSIX integration_platforms: - native_posix diff --git a/subsys/bindesc/Kconfig b/subsys/bindesc/Kconfig index 0f55564d460..e8c158b8c84 100644 --- a/subsys/bindesc/Kconfig +++ b/subsys/bindesc/Kconfig @@ -3,7 +3,7 @@ menuconfig BINDESC bool "Binary Descriptors" - depends on ARCH_SUPPORTS_ROM_START || BOARD_NATIVE_POSIX + depends on ARCH_SUPPORTS_ROM_START || ARCH_POSIX help Binary Descriptors - constant data accessible outside of the executable image