Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 1 | require conf/distro/poky.conf |
Brad Bishop | 4c91177 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 2 | require conf/distro/include/phosphor-defaults.inc |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 3 | |
| 4 | DISTRO = "openbmc-phosphor" |
| 5 | DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)" |
| 6 | DISTRO_VERSION = "0.1.0" |
Patrick Williams | eec1c40 | 2015-09-16 15:25:18 -0500 | [diff] [blame] | 7 | TARGET_VENDOR="-openbmc" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 8 | |
| 9 | IMAGE_FSTYPES += "cpio.gz" |
Milton D. Miller II | ee7c120 | 2016-01-20 15:36:27 -0600 | [diff] [blame] | 10 | IMAGE_FSTYPES += "squashfs-xz" |
Patrick Williams | 54fac63 | 2015-09-16 15:27:57 -0500 | [diff] [blame] | 11 | IMAGE_LINGUAS = "en-us" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 12 | |
| 13 | VIRTUAL-RUNTIME_keymaps = "" |
| 14 | |
| 15 | # Phosphor OpenBMC uses systemd and udev |
Edward A. James | 064a764 | 2016-09-20 15:54:52 -0500 | [diff] [blame] | 16 | DISTRO_FEATURES_append = " systemd pam" |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 17 | VIRTUAL-RUNTIME_init_manager = "systemd" |
| 18 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" |
| 19 | VIRTUAL-RUNTIME_initscripts = "" |
| 20 | |
| 21 | DISTRO_FEATURES = "\ |
| 22 | ipv6 \ |
| 23 | obmc-phosphor-fan-mgmt \ |
| 24 | obmc-phosphor-chassis-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 25 | obmc-phosphor-flash-mgmt \ |
| 26 | obmc-phosphor-event-mgmt \ |
Adriana Kobylak | 2745eaf | 2016-02-11 16:31:21 -0600 | [diff] [blame] | 27 | obmc-phosphor-user-mgmt \ |
Adriana Kobylak | 1ffadd9 | 2016-08-25 10:07:34 -0500 | [diff] [blame] | 28 | obmc-settings-mgmt \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 29 | obmc-phosphor-system-mgmt \ |
Brad Bishop | a1fe810 | 2016-09-08 17:13:33 -0400 | [diff] [blame] | 30 | obmc-host-ipmi \ |
Matt Spinler | 952c459 | 2016-10-14 12:27:20 -0500 | [diff] [blame] | 31 | obmc-mrw \ |
Adriana Kobylak | b02da7b | 2016-10-19 14:58:25 -0500 | [diff] [blame] | 32 | obmc-logging-mgmt \ |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 33 | obmc-host-ctl \ |
Ratan Gupta | df7dfd4 | 2016-10-01 14:57:15 -0500 | [diff] [blame] | 34 | avahi \ |
Ratan Gupta | 75eef8a | 2017-02-11 10:01:04 +0530 | [diff] [blame] | 35 | slp \ |
Tom Joseph | 7b82774 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 36 | obmc-net-ipmi \ |
Brad Bishop | 93fb535 | 2015-09-09 03:59:20 +0000 | [diff] [blame] | 37 | ${DISTRO_FEATURES_LIBC} \ |
| 38 | " |
Brad Bishop | c9dcd7b | 2015-09-15 22:19:28 -0400 | [diff] [blame] | 39 | |
| 40 | MACHINE_FEATURES += " \ |
| 41 | ${OBMC_MACHINE_FEATURES} \ |
| 42 | " |
Patrick Williams | ddf41c6 | 2015-09-16 15:28:57 -0500 | [diff] [blame] | 43 | |
| 44 | DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel" |
Patrick Williams | a369e9f | 2016-06-22 16:30:42 -0500 | [diff] [blame] | 45 | |
| 46 | # TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3. |
| 47 | PREFERRED_VERSION_python-pygobject = "2.%" |
Brad Bishop | 09cb1f3 | 2016-09-13 21:32:44 -0400 | [diff] [blame] | 48 | |
Xo Wang | d836be9 | 2017-02-06 17:05:49 -0800 | [diff] [blame] | 49 | INHERIT_append = " obmc-phosphor-utils" |
Brad Bishop | 0a544b5 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 50 | |
Rick Altherr | e4ca76b | 2016-09-23 15:16:28 -0700 | [diff] [blame] | 51 | include conf/distro/include/openbmc-phosphor/${MACHINE}.inc |
Patrick Williams | c83cf1c | 2017-03-28 15:24:41 -0500 | [diff] [blame] | 52 | |
| 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. |
| 57 | INHERIT_remove = " uninative" |
| 58 | OLDEST_KERNEL = "2.6.32" |
Brad Bishop | 683ea6d | 2017-04-11 22:42:05 -0400 | [diff] [blame] | 59 | |
| 60 | KERNEL_FEATURES_append = " phosphor-gpio-keys" |
| 61 | KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" |