diff options
author | David Cobbley <david.j.cobbley@linux.intel.com> | 2018-06-29 23:27:44 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-03 06:10:21 +0300 |
commit | 2a5e5718c55ea539dc2cb9a94bad2148ae722232 (patch) | |
tree | 7d07d262a04d6fca93b27f54319182a325d7f91b | |
parent | 7bed1def9e644cae3c7e641ebc59047f04174acd (diff) | |
download | openbmc-2a5e5718c55ea539dc2cb9a94bad2148ae722232.tar.xz |
Seperate OpenBMC and Poky Distro
Since the OpenBMC is it's own distribution, we should not be strictly
dependent upon poky.
Using require poky.conf breaks our ability to update the
variable LOCALCONF_VERSION since it is set to 1 by poky.conf. If we want
to continue getting updates as poky changes, they should be brought over
manually.
Change-Id: I1e098d0e884640f3e0dbb242753656c01f6c1b79
Signed-off-by: David Cobbley <david.j.cobbley@linux.intel.com>
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-base.inc | 81 |
1 files changed, 80 insertions, 1 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc index 483e92f34..9edd238be 100644 --- a/meta-phosphor/conf/distro/include/phosphor-base.inc +++ b/meta-phosphor/conf/distro/include/phosphor-base.inc @@ -1,6 +1,84 @@ -require conf/distro/poky.conf require conf/distro/include/phosphor-defaults.inc +# Override these in poky based distros +POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan" +POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" +POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" + +DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" +DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" + +POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}" +DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}" + +TCLIBCAPPEND = "" + +QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el nios2 ppc x86_64" + +PREMIRRORS ??= "\ +bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +MIRRORS =+ "\ +ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully +# fetch from the network (and warn you if not). To disable the test set +# the variable to be empty. +# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master +CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" + +SANITY_TESTED_DISTROS ?= " \ + poky-2.4 \n \ + poky-2.5 \n \ + ubuntu-15.04 \n \ + ubuntu-16.04 \n \ + ubuntu-16.10 \n \ + ubuntu-17.04 \n \ + fedora-26 \n \ + centos-7 \n \ + debian-8 \n \ + debian-9 \n \ + opensuse-42.1 \n \ + opensuse-42.2 \n \ + " +# +# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in +# an incompatible way. Such changes should usually be detailed in the commit +# that breaks the format and have been previously discussed on the mailing list +# with general agreement from the core team. +# + +OELAYOUT_ABI = "12" + +# add poky sanity bbclass +INHERIT += "poky-sanity" + +# QA check settings - a little stricter than the OE-Core defaults +WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ + installed-vs-shipped ldflags pn-overrides rpaths staticdev \ + useless-rpaths" +WARN_QA_remove = "${WARN_TO_ERROR_QA}" +ERROR_QA_append = " ${WARN_TO_ERROR_QA}" + +require conf/distro/include/poky-world-exclude.inc +require conf/distro/include/no-static-libs.inc +require conf/distro/include/yocto-uninative.inc +INHERIT += "uninative" + DISTRO = "openbmc-phosphor" DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)" DISTRO_VERSION = "0.1.0" @@ -75,3 +153,4 @@ SKIP_META_VIRT_SANITY_CHECK = "1" # compressed to the root filesystem, and probably doesn't # make sense on a BMC anyway. BAD_RECOMMENDATIONS_pn-obmc-phosphor-image = "udev-hwdb" + |