ibm: Create p10bmc build target
Replace rainier with p10bmc as build target. Keep the rainier.conf as a
symlink to p10bmc.conf to allow the transition. Remove the rainier.conf
and the machine override from p10bmc.conf in a later commit to complete
the replacement.
Tested: Built rainier and p10bmc and checked for some files/service
units to exist on both.
Change-Id: Ic8c8c6ffbc3507fbd9c692da259e37ae695359a6
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/meta-ibm/conf/conf-notes.txt b/meta-ibm/conf/conf-notes.txt
index f56b88b..d4578dc 100644
--- a/meta-ibm/conf/conf-notes.txt
+++ b/meta-ibm/conf/conf-notes.txt
@@ -2,11 +2,11 @@
mihawk:
DISTRO=openbmc-witherspoon MACHINE=mihawk bitbake obmc-phosphor-image
+p10bmc:
+DISTRO=openbmc-openpower MACHINE=p10bmc bitbake obmc-phosphor-image
swift:
DISTRO=openbmc-witherspoon MACHINE=swift bitbake obmc-phosphor-image
witherspoon:
DISTRO=openbmc-witherspoon MACHINE=witherspoon bitbake obmc-phosphor-image
witherspoon-tacoma:
DISTRO=openbmc-openpower MACHINE=witherspoon-tacoma bitbake obmc-phosphor-image
-rainier:
-DISTRO=openbmc-openpower MACHINE=rainier bitbake obmc-phosphor-image
diff --git a/meta-ibm/conf/local.conf.sample b/meta-ibm/conf/local.conf.sample
index 4b70cad..9f2228b 100644
--- a/meta-ibm/conf/local.conf.sample
+++ b/meta-ibm/conf/local.conf.sample
@@ -1,6 +1,6 @@
#MACHINE ?= "mihawk"
+#MACHINE ?= "p10bmc"
#MACHINE ?= "swift"
-#MACHINE ?= "rainier"
MACHINE ??= "witherspoon"
DISTRO ?= "openbmc-witherspoon"
PACKAGE_CLASSES ?= "package_rpm"
diff --git a/meta-ibm/conf/machine/rainier.conf b/meta-ibm/conf/machine/p10bmc.conf
similarity index 94%
rename from meta-ibm/conf/machine/rainier.conf
rename to meta-ibm/conf/machine/p10bmc.conf
index f7f08dd..22b59b4 100644
--- a/meta-ibm/conf/machine/rainier.conf
+++ b/meta-ibm/conf/machine/p10bmc.conf
@@ -5,6 +5,7 @@
OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3"
+# TODO remove the MACHINEOVERRIDES when the rainier.conf file is removed.
MACHINEOVERRIDES =. "p10bmc:"
require conf/machine/include/ast2600.inc
require conf/machine/include/obmc-bsp-common.inc
diff --git a/meta-ibm/conf/machine/rainier.conf b/meta-ibm/conf/machine/rainier.conf
new file mode 120000
index 0000000..ddfb6ec
--- /dev/null
+++ b/meta-ibm/conf/machine/rainier.conf
@@ -0,0 +1 @@
+p10bmc.conf
\ No newline at end of file