Add phosphor-defaults.conf
Add a global default configuration file for Phosphor, with
purpose similar to default-distrovars.inc.
Change-Id: I7b212f6025d5ce8c40f02abccfd9f998275bc281
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
new file mode 100644
index 0000000..a99ad66
--- /dev/null
+++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
@@ -0,0 +1,9 @@
+OBMC_CHASSIS_INSTANCES ?= "0"
+OBMC_POWER_INSTANCES ?= "0"
+OBMC_CHECKSTOP_INSTANCES ?= "0"
+OBMC_HOST_INSTANCES ?= "0"
+OBMC_WATCHDOG_INSTANCES ?= "0"
+OBMC_RESET_BUTTON_INSTANCES ?= "0"
+OBMC_POWER_BUTTON_INSTANCES ?= "0"
+OBMC_BMC_INSTANCES ?= "0"
+OBMC_FAN_INSTANCES ?= ""
diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
index e9de087..a942f71 100644
--- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
+++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
@@ -1,4 +1,5 @@
require conf/distro/poky.conf
+require conf/distro/include/phosphor-defaults.inc
DISTRO = "openbmc-phosphor"
DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"