summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/opensil
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2024-03-13 15:52:53 -0600
committerMartin L Roth <gaumless@gmail.com>2024-03-17 16:36:10 +0000
commit7765f4d43b2c3ba22805aba08bf3d3cdaa25d7e5 (patch)
treec72b096d5b8a1700b56f71ebf51e1bbfcb6b1b21 /src/vendorcode/amd/opensil
parentee01de8034d2dc7d69013e5183ca2e4f33d8209e (diff)
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 <marshalldawson3rd@gmail.com> Change-Id: Ic050ff0fa3f428e6adff3357f476fcd8a88cdf7e Reviewed-on: https://review.coreboot.org/c/coreboot/+/81189 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd/opensil')
-rw-r--r--src/vendorcode/amd/opensil/Kconfig3
1 files changed, 2 insertions, 1 deletions
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.