From 7765f4d43b2c3ba22805aba08bf3d3cdaa25d7e5 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 13 Mar 2024 15:52:53 -0600 Subject: vc/amd/opensil: don't use source path when using stub Add a 'depends on' statement so that path/to/opensil/source is only active when the stub is not built. Signed-off-by: Marshall Dawson Change-Id: Ic050ff0fa3f428e6adff3357f476fcd8a88cdf7e Reviewed-on: https://review.coreboot.org/c/coreboot/+/81189 Reviewed-by: Felix Held Reviewed-by: Varshit Pandya Tested-by: build bot (Jenkins) --- src/vendorcode/amd/opensil/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vendorcode/amd/opensil') diff --git a/src/vendorcode/amd/opensil/Kconfig b/src/vendorcode/amd/opensil/Kconfig index f0a303caae..00f373f142 100644 --- a/src/vendorcode/amd/opensil/Kconfig +++ b/src/vendorcode/amd/opensil/Kconfig @@ -16,7 +16,8 @@ config SOC_AMD_OPENSIL_GENOA_POC openSIL. config AMD_OPENSIL_PATH - string + string "Path to openSIL source" + depends on !SOC_AMD_OPENSIL_STUB default "$(top)/src/vendorcode/amd/opensil/genoa_poc/opensil" if SOC_AMD_OPENSIL_GENOA_POC help Set to the path of the openSIL directory containing meson.build. -- cgit v1.2.3