hcode: only show IONV option if hcode is being built
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
diff --git a/openpower/package/hcode/Config.in b/openpower/package/hcode/Config.in
index c64e36d..acd18bd 100644
--- a/openpower/package/hcode/Config.in
+++ b/openpower/package/hcode/Config.in
@@ -5,9 +5,12 @@
help
Project to build the hcode firmware codebase
+if BR2_PACKAGE_HCODE
+
config BR2_HCODE_INCLUDE_IONV
bool "Enables packaging of the NVIDIA GPU image into the final hw image"
default y
help
Boolean used to flag whether to include NVIDIA GPU binary
+endif