Split P8 and P9 Hostboot and OCC packages
This was causing a couple of issues:
1) increased complexity in build files
2) It breaks the pkg-version patch detection/checksum
3) Failing to apply patches to would silently fail
The split makes this a bit easier and requires less custom code.
We keep the P9 hostboot/occ named hostboot/occ, so that day-to-day,
nobody notices a difference. The only difference you'll notice
is if doing POWER8 hostboot/occ development, as the package name
will be 'hostboot-p8' or 'occ-p8'.
Fixes: https://github.com/open-power/op-build/issues/876
Fixes: https://github.com/open-power/op-build/issues/1194
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
diff --git a/openpower/package/hostboot/Config.in b/openpower/package/hostboot/Config.in
index d864c49..b818174 100644
--- a/openpower/package/hostboot/Config.in
+++ b/openpower/package/hostboot/Config.in
@@ -1,13 +1,17 @@
config BR2_PACKAGE_HOSTBOOT
bool "hostboot"
- default y if (BR2_OPENPOWER_PLATFORM)
+ default y if (BR2_OPENPOWER_POWER9)
select BR2_CPP
help
Project to build the hostboot firmware codebase
+if BR2_PACKAGE_HOSTBOOT
config BR2_HOSTBOOT_CONFIG_FILE
string "Hostboot configuration file for compilation"
default default
help
String used to define hw specific make config file
+
+endif
+