blob: abea01e4c5e58def1b54a6d76fb0bf434fdf89a8 [file] [log] [blame]
Brad Bishop93fb5352015-09-09 03:59:20 +00001require conf/distro/poky.conf
Brad Bishop6491f652016-08-16 13:23:07 -04002require conf/distro/include/phosphor-defaults.inc
Brad Bishop93fb5352015-09-09 03:59:20 +00003
4DISTRO = "openbmc-phosphor"
5DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
6DISTRO_VERSION = "0.1.0"
Patrick Williamseec1c402015-09-16 15:25:18 -05007TARGET_VENDOR="-openbmc"
Brad Bishop93fb5352015-09-09 03:59:20 +00008
9IMAGE_FSTYPES += "cpio.gz"
Milton D. Miller II270cbb82016-01-20 15:36:27 -060010IMAGE_FSTYPES += "squashfs-xz"
Patrick Williams54fac632015-09-16 15:27:57 -050011IMAGE_LINGUAS = "en-us"
Brad Bishop93fb5352015-09-09 03:59:20 +000012
13VIRTUAL-RUNTIME_keymaps = ""
14
15# Phosphor OpenBMC uses systemd and udev
Edward A. James5aeef112016-09-20 15:54:52 -050016DISTRO_FEATURES_append = " systemd pam"
Brad Bishop93fb5352015-09-09 03:59:20 +000017VIRTUAL-RUNTIME_init_manager = "systemd"
18DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
19VIRTUAL-RUNTIME_initscripts = ""
20
21DISTRO_FEATURES = "\
22 ipv6 \
23 obmc-phosphor-fan-mgmt \
24 obmc-phosphor-chassis-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000025 obmc-phosphor-flash-mgmt \
26 obmc-phosphor-event-mgmt \
Adriana Kobylakf1cd2b52016-02-11 16:31:21 -060027 obmc-phosphor-user-mgmt \
Adriana Kobylak79841ae2016-08-25 10:07:34 -050028 obmc-settings-mgmt \
Brad Bishop93fb5352015-09-09 03:59:20 +000029 obmc-phosphor-system-mgmt \
Brad Bishop7a0ddd92016-09-08 17:13:33 -040030 obmc-host-ipmi \
Matt Spinlerc4d7b312016-10-14 12:27:20 -050031 obmc-mrw \
Adriana Kobylak172fe102016-10-19 14:58:25 -050032 obmc-logging-mgmt \
Sergey Solomin7df19362016-11-28 15:03:24 -060033 obmc-host-ctl \
Ratan Gupta653779c2016-10-01 14:57:15 -050034 avahi \
Ratan Gupta3a3127f2017-02-11 10:01:04 +053035 slp \
Tom Josephfddc4052017-01-16 16:43:05 +053036 obmc-net-ipmi \
Brad Bishop93fb5352015-09-09 03:59:20 +000037 ${DISTRO_FEATURES_LIBC} \
38 "
Brad Bishopc9dcd7b2015-09-15 22:19:28 -040039
40MACHINE_FEATURES += " \
41 ${OBMC_MACHINE_FEATURES} \
42 "
Patrick Williamsddf41c62015-09-16 15:28:57 -050043
44DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel"
Patrick Williams6ed002f2016-06-22 16:30:42 -050045
46# TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3.
47PREFERRED_VERSION_python-pygobject = "2.%"
Brad Bishop4efdcec2016-09-13 21:32:44 -040048
Xo Wangc3661232017-02-06 17:05:49 -080049INHERIT_append = " obmc-phosphor-utils"
Brad Bishop30f78552017-01-28 12:51:42 -050050
Rick Altherr9d27c592016-09-23 15:16:28 -070051include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
Patrick Williams1d88f942017-03-28 15:24:41 -050052
53# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
54# RHEL6.4's kernel is too old to use the uninative-shim due to missing
55# syscall support. Disable uninative and set OLDEST_KERNEL back to
56# the version in RHEL6.4.
57INHERIT_remove = " uninative"
58OLDEST_KERNEL = "2.6.32"
Brad Bishopf7d474c2017-04-11 22:42:05 -040059
60KERNEL_FEATURES_append = " phosphor-gpio-keys"
61KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys"