diff options
author | Patrick Venture <venture@google.com> | 2019-07-15 19:50:03 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-07-19 23:27:09 +0300 |
commit | d190c73c8a1def3b67e747e468bc67a55d293787 (patch) | |
tree | 8a9c324d6bc44241de4ebf66b31aec11ed5948ca /meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb | |
parent | 700db3cc722d671e8672ad4f623181db4629b918 (diff) | |
download | openbmc-d190c73c8a1def3b67e747e468bc67a55d293787.tar.xz |
meta-phosphor: ipmi-flash: provide bitbake variable for addr
Provide a bitbake recipe variable to specify the MAPPED_ADDRESS, instead
of requiring a user to specifically set the configuration. Setting this
value is required for any of the larger transfer mechanisms and is
therefore an option effectively always set. Therefore, this simplifies
configuration.
Note: meta-lenovo/meta-hr855xg2 currently has this variable set, a
separate patchset will address this to use this new value during sync.
(From meta-phosphor rev: 2fba5de5486426c79c9dccb63394e82ff58093cb)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I35fb753aaea4a9ca5e52d48c6c60b50ac0511ac6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb index 92ed33746..3bf7ca7d8 100644 --- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-flash_git.bb @@ -31,6 +31,10 @@ PACKAGECONFIG[nuvoton-lpc] = "--enable-nuvoton-lpc, --disable-nuvoton-lpc" EXTRA_OECONF = "--disable-tests --disable-build-host-tool" +# Set this variable in your recipe to set it instead of using MAPPED_ADDRESS directly. +IPMI_FLASH_BMC_ADDRESS ?= "0" +EXTRA_OECONF_append = " MAPPED_ADDRESS=${IPMI_FLASH_BMC_ADDRESS}" + S = "${WORKDIR}/git" SRC_URI = "git://github.com/openbmc/phosphor-ipmi-flash" SRCREV = "298930a18d01b4685aab3a7018299c7342afa028" |