sm: Rework the Kconfig logic here
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:51:11 +0000 (15:51 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 16:58:46 +0000 (10:58 -0600)
commite2837ecddc244198e3ebeac9ddb18fd439b0131f
tree674dd5fd8779550d39e4525ef9cef5a3876cc3c8
parentd68db76b95b106227a40fcf41ebf4dccb2225a0e
sm: Rework the Kconfig logic here

The symbol "SM" is a library symbol and should not be prompted for. It
should be selected by the drivers that use it. In this case we need to
add a SANDBOX_SM symbol for the sandbox driver. The meson SM driver
cannot build on other platforms, so add the appropriate dependency.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
configs/sandbox_defconfig
drivers/sm/Kconfig
drivers/sm/Makefile