commit | 80caf06c9c8f93ab82f0d98811ea095d6a519698 | [log] [tgz] |
---|---|---|
author | Lei YU <mine260309@gmail.com> | Thu Jul 20 15:25:28 2017 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 01 13:02:28 2017 +0000 |
tree | 8ec65005db252259dbde7f8ae787f5bdf77bc8d9 | |
parent | a1f486e91b468b495d7fc17792b77c0abb9f5b0b [diff] [blame] |
meta-openpower: Define i2c-occ feature OpenPOWER P8 systems uses i2c to access occ. Define i2c-occ OBMC_MACHINE_FEATURES and append EXTRA_OECONF in openpower-occ-control.bb so that it compiles with I2C OCC support. Enabled this feature on Palmetto first. Change-Id: I1c07d28494fc5e87e86a3be1bfcfd955770e14e7 Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb index d03601f..e1823fe 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb
@@ -29,4 +29,6 @@ phosphor-dbus-interfaces \ " +EXTRA_OECONF_append = "${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'i2c-occ', ' --enable-i2c-occ', '', d)}" + S = "${WORKDIR}/git"