fix(esp_hw_support): move linux spinlock.h to esp_hw_support/include/linux

Moved the linux spinlock.h stub into esp_hw_support/include/linux.
esp_hw_support's INCLUDE_DIRS already places include/linux before
include, so the correct include files are picked up for the linux
target.

- Drop the FreeRTOS-Kernel-SMP linux spinlock.h duplicate.
- rv_decode_test: use PRIV_REQUIRES esp_hw_support instead of
  hardcoding component include paths.
This commit is contained in:
Sudeep Mohanty
2026-05-25 14:40:49 +02:00
parent 07b2947f95
commit 7b294c4ab9
3 changed files with 1 additions and 60 deletions

View File

@@ -5,10 +5,10 @@ idf_component_register(SRCS
"../../../private_include"
"../../../include"
"../../../src/port/riscv/include"
"../../../../esp_hw_support/include"
"../../../../soc/esp32c3/include"
"../../../../esp_common/include"
"../../../../riscv/include"
PRIV_REQUIRES esp_hw_support
WHOLE_ARCHIVE)
# Currently 'main' for IDF_TARGET=linux is defined in freertos component.