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>
This commit is contained in:
Marshall Dawson
2024-03-13 15:52:53 -06:00
committed by Martin L Roth
parent ee01de8034
commit 7765f4d43b

View File

@ -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.