From f02d1d56f0869471c81276469ec2aa8fe34d2fa7 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Sat, 24 Aug 2024 00:55:12 +0000 Subject: [PATCH] native_sim_libfuzzer.conf: override some incompatible hardware options Override incompatible options CONFIG_SMP_BOOT_DELAY and CONFIG_SCHED_CPU_MASK_PIN_ONLY found in `sof/app/prj.conf` to silence build time warnings. Strange why these are in `app/prj.conf` but not our problem here. ``` warning: SCHED_CPU_MASK_PIN_ONLY (defined at kernel/Kconfig:139) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: SMP (=n). warning: SMP_BOOT_DELAY (defined at kernel/Kconfig.smp:32) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: SMP (=n). ``` Signed-off-by: Marc Herbert --- app/boards/native_sim_libfuzzer.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/boards/native_sim_libfuzzer.conf b/app/boards/native_sim_libfuzzer.conf index 4aa87bef34fe..ad869e58a3c3 100644 --- a/app/boards/native_sim_libfuzzer.conf +++ b/app/boards/native_sim_libfuzzer.conf @@ -9,3 +9,9 @@ CONFIG_ZEPHYR_NATIVE_DRIVERS=y CONFIG_ARCH_POSIX_LIBFUZZER=y CONFIG_ZEPHYR_POSIX_FUZZ_TICKS=100 CONFIG_ASAN=y + +# Override incompatible options found in sof/app/prj.conf +# to silence build time warnings +# (strange why these are in app/prj.conf but not our problem here) +CONFIG_SMP_BOOT_DELAY=n +CONFIG_SCHED_CPU_MASK_PIN_ONLY=n