hostboot: Build with OP920 "stable" branch by default, master as on option
This promotes our efforts to stabilise op-build towards the v2.0
release.
We have a config option to select between living on the edge and the
stable tree.
In the future, we expect this to move as the development model evolves.
To build with Hostboot as 'master', BR2_HOSTBOOT_LATEST_VERSION=y
is set.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
diff --git a/openpower/package/hostboot/Config.in b/openpower/package/hostboot/Config.in
index b818174..69a3510 100644
--- a/openpower/package/hostboot/Config.in
+++ b/openpower/package/hostboot/Config.in
@@ -7,6 +7,32 @@
if BR2_PACKAGE_HOSTBOOT
+choice
+ prompt "Hostboot version"
+ default BR2_HOSTBOOT_OP920_VERSION
+
+config BR2_HOSTBOOT_OP920_VERSION
+ bool "Use latest Hostboot stable version (OP920)"
+
+config BR2_HOSTBOOT_LATEST_VERSION
+ bool "Use latest Hostboot master"
+
+config BR2_HOSTBOOT_CUSTOM_VERSION
+ bool "Custom version"
+
+endchoice
+
+config BR2_HOSTBOOT_CUSTOM_VERSION_VALUE
+ string "hostboot version"
+ depends on BR2_HOSTBOOT_CUSTOM_VERSION
+
+config BR2_HOSTBOOT_VERSION
+ string
+ default "c38615a583b7f19c0ae6a5a152b575fe61ff3d2a" if BR2_HOSTBOOT_LATEST_VERSION
+ default "4b25a2be9395e4d287c94a1900ae54823efd477c" if BR2_HOSTBOOT_OP920_VERSION
+ default BR2_HOSTBOOT_CUSTOM_VERSION_VALUE \
+ if BR2_HOSTBOOT_CUSTOM_VERSION
+
config BR2_HOSTBOOT_CONFIG_FILE
string "Hostboot configuration file for compilation"
default default