u-boot/drivers/sm/Makefile
Tom Rini e2837ecddc 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>
2025-08-14 10:58:46 -06:00

6 lines
151 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_SM) += sm-uclass.o
obj-$(CONFIG_SANDBOX_SM) += sandbox-sm.o
obj-$(CONFIG_MESON_SM) += meson-sm.o