blob: d318da74ffb039d69d06274b867df7d5af7e01ff [file] [log] [blame]
Brad Bishop6ace9d32018-03-08 22:17:47 -05001require conf/distro/poky.conf
2require conf/distro/include/phosphor-defaults.inc
3
4DISTRO = "openbmc-phosphor"
5DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
6DISTRO_VERSION = "0.1.0"
7TARGET_VENDOR="-openbmc"
8
9IMAGE_LINGUAS = "en-us"
10
11VIRTUAL-RUNTIME_keymaps = ""
12
13# Phosphor OpenBMC uses systemd and udev
Brad Bishop6ace9d32018-03-08 22:17:47 -050014VIRTUAL-RUNTIME_init_manager = "systemd"
Brad Bishop6ace9d32018-03-08 22:17:47 -050015VIRTUAL-RUNTIME_initscripts = ""
16
Brad Bishop7c759712018-03-09 21:48:12 -050017DISTRO_FEATURES_BACKFILL_CONSIDERED = " \
18 bluez5 \
19 ldconfig \
20 gobject-introspection-data \
21 pulseaudio \
22 sysvinit \
23 "
24
25DISTRO_FEATURES_OBMC = " \
26 obmc-host-ctl \
Brad Bishop6ace9d32018-03-08 22:17:47 -050027 obmc-host-ipmi \
Brad Bishop6ace9d32018-03-08 22:17:47 -050028 obmc-logging-mgmt \
Brad Bishop6ace9d32018-03-08 22:17:47 -050029 obmc-net-ipmi \
Brad Bishop7c759712018-03-09 21:48:12 -050030 obmc-phosphor-chassis-mgmt \
31 obmc-phosphor-fan-mgmt \
32 obmc-phosphor-flash-mgmt \
33 obmc-phosphor-system-mgmt \
34 obmc-phosphor-user-mgmt \
35 obmc-settings-mgmt \
36 "
37
38DISTRO_FEATURES_DEFAULT = " \
39 avahi \
40 pam \
41 slp \
42 systemd \
43 "
44
45DISTRO_FEATURES = " \
46 ${DISTRO_FEATURES_DEFAULT} \
Brad Bishop6ace9d32018-03-08 22:17:47 -050047 ${DISTRO_FEATURES_LIBC} \
Brad Bishop7c759712018-03-09 21:48:12 -050048 ${DISTRO_FEATURES_OBMC} \
Brad Bishop6ace9d32018-03-08 22:17:47 -050049 "
50
51MACHINE_FEATURES += " \
52 ${OBMC_MACHINE_FEATURES} \
53 "
54
55DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
56
57# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
58PREFERRED_VERSION_python-pygobject = "2.%"
59
Brad Bishop6ace9d32018-03-08 22:17:47 -050060include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
61
62# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
63# RHEL6.4's kernel is too old to use the uninative-shim due to missing
64# syscall support. Disable uninative and set OLDEST_KERNEL back to
65# the version in RHEL6.4.
66INHERIT_remove = " uninative"
67OLDEST_KERNEL = "2.6.32"
68
69KERNEL_FEATURES_append = " phosphor-gpio-keys"
70KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"
71
72IMAGE_CLASSES_append = " image_types_phosphor"
73
74# OpenBMC uses a couple recipes from meta-virtualization
75# but we do not actually want any virtualization support
76# enabled on a BMC distribution. Silence the emitted
77# warning.
78SKIP_META_VIRT_SANITY_CHECK = "1"