summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf/distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/conf/distro')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-base.inc3
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-defaults.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc
index 5b114810f..e42c8c20d 100644
--- a/meta-phosphor/conf/distro/include/phosphor-base.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-base.inc
@@ -12,7 +12,7 @@ DISTROOVERRIDES .= ":openbmc-phosphor"
TCLIBCAPPEND = ""
-QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el nios2 ppc x86_64"
+QEMU_TARGETS ?= "arm aarch64 i386 riscv32 riscv64 x86_64"
PREMIRRORS ??= "\
bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
@@ -69,7 +69,6 @@ require conf/distro/include/no-static-libs.inc
require conf/distro/include/yocto-uninative.inc
DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
-DISTRO_VERSION = "0.1.0"
TARGET_VENDOR="-openbmc"
VIRTUAL-RUNTIME_keymaps = ""
diff --git a/meta-phosphor/conf/distro/include/phosphor-defaults.inc b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
index b8f4c52e3..7aed7cbd4 100644
--- a/meta-phosphor/conf/distro/include/phosphor-defaults.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-defaults.inc
@@ -239,6 +239,9 @@ SECURITY_CFLAGS_pn-obmc-libobmc-intf = ""
# is merged and rev bumped
SECURITY_CFLAGS_pn-pldm = ""
+# We generally want to enable LTO with meson
+EXTRA_OEMESON_append_class-target = " -Db_lto=true"
+
# Set the root password to '0penBmc'
inherit extrausers