| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 1 | require conf/distro/poky.conf | 
 | 2 | require conf/distro/include/phosphor-defaults.inc | 
 | 3 |  | 
 | 4 | DISTRO = "openbmc-phosphor" | 
 | 5 | DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)" | 
 | 6 | DISTRO_VERSION = "0.1.0" | 
 | 7 | TARGET_VENDOR="-openbmc" | 
 | 8 |  | 
 | 9 | IMAGE_LINGUAS = "en-us" | 
 | 10 |  | 
 | 11 | VIRTUAL-RUNTIME_keymaps = "" | 
 | 12 |  | 
 | 13 | # Phosphor OpenBMC uses systemd and udev | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 14 | VIRTUAL-RUNTIME_init_manager = "systemd" | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 15 | VIRTUAL-RUNTIME_initscripts = "" | 
 | 16 |  | 
| Brad Bishop | 7c75971 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 17 | DISTRO_FEATURES_BACKFILL_CONSIDERED = " \ | 
 | 18 |         bluez5 \ | 
 | 19 |         ldconfig \ | 
 | 20 |         gobject-introspection-data \ | 
 | 21 |         pulseaudio \ | 
 | 22 |         sysvinit \ | 
 | 23 |         " | 
 | 24 |  | 
 | 25 | DISTRO_FEATURES_OBMC = " \ | 
 | 26 |         obmc-host-ctl \ | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 27 |         obmc-host-ipmi \ | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 28 |         obmc-logging-mgmt \ | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 29 |         obmc-net-ipmi \ | 
| Brad Bishop | 7c75971 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 30 |         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 |  | 
 | 38 | DISTRO_FEATURES_DEFAULT = " \ | 
 | 39 |         avahi \ | 
 | 40 |         pam \ | 
 | 41 |         slp \ | 
 | 42 |         systemd \ | 
 | 43 |         " | 
 | 44 |  | 
 | 45 | DISTRO_FEATURES = " \ | 
 | 46 |         ${DISTRO_FEATURES_DEFAULT} \ | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 47 |         ${DISTRO_FEATURES_LIBC} \ | 
| Brad Bishop | 7c75971 | 2018-03-09 21:48:12 -0500 | [diff] [blame] | 48 |         ${DISTRO_FEATURES_OBMC} \ | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 49 |         " | 
 | 50 |  | 
 | 51 | MACHINE_FEATURES += " \ | 
 | 52 |         ${OBMC_MACHINE_FEATURES} \ | 
 | 53 |         " | 
 | 54 |  | 
 | 55 | DISTRO_EXTRA_RDEPENDS_remove_qemuarm = "packagegroup-core-device-devel" | 
 | 56 |  | 
 | 57 | # TODO: openbmc/openbmc#12345 - Upgrade to pygobject-3. | 
 | 58 | PREFERRED_VERSION_python-pygobject = "2.%" | 
 | 59 |  | 
| Brad Bishop | 6ace9d3 | 2018-03-08 22:17:47 -0500 | [diff] [blame] | 60 | include 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. | 
 | 66 | INHERIT_remove = " uninative" | 
 | 67 | OLDEST_KERNEL = "2.6.32" | 
 | 68 |  | 
 | 69 | KERNEL_FEATURES_append = " phosphor-gpio-keys" | 
 | 70 | KERNEL_FEATURES_remove_qemuall = " phosphor-gpio-keys" | 
 | 71 |  | 
 | 72 | IMAGE_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. | 
 | 78 | SKIP_META_VIRT_SANITY_CHECK = "1" |