commit | 74d4dbc6bb66e83538e43480eda00a3bcb483fa7 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Aug 09 16:36:51 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Aug 10 17:04:18 2017 +0000 |
tree | a151255c5c575d4406e5c07b5d5c3dbffa8c1b0d | |
parent | cdcb10f62c6b5e091154dab6d8d1e6c1a3d97518 [diff] |
mboxd: convert virtual-pnor to PACKAGECONFIG Change-Id: Iad65d850e224f9c869a3c14c2698bbb13faa766b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/mboxd/mboxd.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/mboxd/mboxd.bbappend index 4139f5e..594a6ed 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/mboxd/mboxd.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/mboxd/mboxd.bbappend
@@ -1,3 +1,3 @@ MBOXD_FLASH_SIZE = "64M" -EXTRA_OECONF := "${@oe_filter_out('enable_virtual_pnor=no', '', d)}" +PACKAGECONFIG_append = "virtual-pnor"
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb index 4cb85bb..8915dd7 100644 --- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb +++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd.bb
@@ -46,6 +46,6 @@ SYSTEMD_SERVICE_${PN} += "mboxd-reload@.service" SYSTEMD_LINK_${PN} += "${@compose_list(d, 'FMT', 'OBMC_CHASSIS_INSTANCES')}" -EXTRA_OECONF = " \ - enable_virtual_pnor=no \ - " +# Disable virtual-pnor by default. +PACKAGECONFIG ??= "" +PACKAGECONFIG[virtual-pnor] = "--enable-virtual-pnor,--disable-virtual-pnor"