blob: 57d00bcf72f94b3a3d9555df667116d949d89328 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05003DISTRO_VERSION = "2.4.2"
4DISTRO_CODENAME = "rocko"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005SDK_VENDOR = "-pokysdk"
6SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
7
8MAINTAINER = "Poky <poky@yoctoproject.org>"
9
10TARGET_VENDOR = "-poky"
11
12LOCALCONF_VERSION = "1"
13
14DISTRO_VERSION[vardepsexclude] = "DATE"
15SDK_VERSION[vardepsexclude] = "DATE"
16
17# Override these in poky based distros
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
20POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
21
22DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
23
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024PREFERRED_VERSION_linux-yocto ?= "4.12%"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025
26SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
27SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
28
29DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
30DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
31
32POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
33DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
34DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
35DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
36DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
37DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
38DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
39
40TCLIBCAPPEND = ""
41
Brad Bishopd7bf8c12018-02-25 22:55:05 -050042QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el nios2 ppc x86_64"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050043# Other QEMU_TARGETS "sh4"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050044
45PREMIRRORS ??= "\
46bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
47cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
48git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
49gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
50hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
51osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
52p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
53svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
54
55MIRRORS =+ "\
56ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
57http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
58https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
59
60# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
61# fetch from the network (and warn you if not). To disable the test set
62# the variable to be empty.
63# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
64CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
65
66SANITY_TESTED_DISTROS ?= " \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060067 poky-2.2 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050068 poky-2.3 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050069 poky-2.4 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050070 ubuntu-15.04 \n \
71 ubuntu-16.04 \n \
72 ubuntu-16.10 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050073 ubuntu-17.04 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050074 fedora-24 \n \
75 fedora-25 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050076 fedora-26 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050077 centos-7 \n \
78 debian-8 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050079 debian-9 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050080 opensuse-42.1 \n \
81 opensuse-42.2 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050082 "
83#
Brad Bishopd7bf8c12018-02-25 22:55:05 -050084# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050085# an incompatible way. Such changes should usually be detailed in the commit
Brad Bishopd7bf8c12018-02-25 22:55:05 -050086# that breaks the format and have been previously discussed on the mailing list
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050087# with general agreement from the core team.
88#
Brad Bishop6e60e8b2018-02-01 10:27:11 -050089OELAYOUT_ABI = "12"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050090
91# add poky sanity bbclass
92INHERIT += "poky-sanity"
93
94# QA check settings - a little stricter than the OE-Core defaults
95WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
96 installed-vs-shipped ldflags pn-overrides rpaths staticdev \
97 useless-rpaths"
98WARN_QA_remove = "${WARN_TO_ERROR_QA}"
99ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
100
101require conf/distro/include/poky-world-exclude.inc
102require conf/distro/include/no-static-libs.inc
103require conf/distro/include/yocto-uninative.inc
104INHERIT += "uninative"