poky.conf 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. DISTRO = "poky"
  2. DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
  3. DISTRO_VERSION = "2.6.4"
  4. DISTRO_CODENAME = "thud"
  5. SDK_VENDOR = "-pokysdk"
  6. SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
  7. MAINTAINER = "Poky <poky@yoctoproject.org>"
  8. TARGET_VENDOR = "-poky"
  9. LOCALCONF_VERSION = "1"
  10. DISTRO_VERSION[vardepsexclude] = "DATE"
  11. SDK_VERSION[vardepsexclude] = "DATE"
  12. # Override these in poky based distros
  13. POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
  14. POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
  15. POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
  16. DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
  17. PREFERRED_VERSION_linux-yocto ?= "4.18%"
  18. SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
  19. SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
  20. DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
  21. DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
  22. POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
  23. DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
  24. DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
  25. DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
  26. DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
  27. DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
  28. DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
  29. TCLIBCAPPEND = ""
  30. QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el nios2 ppc x86_64"
  31. # Other QEMU_TARGETS "sh4"
  32. PREMIRRORS ??= "\
  33. bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  34. cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  35. git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  36. gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  37. hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  38. osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  39. p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  40. svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
  41. MIRRORS =+ "\
  42. ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  43. http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
  44. https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
  45. # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
  46. # fetch from the network (and warn you if not). To disable the test set
  47. # the variable to be empty.
  48. # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
  49. CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
  50. SANITY_TESTED_DISTROS ?= " \
  51. poky-2.5 \n \
  52. poky-2.6 \n \
  53. ubuntu-16.04 \n \
  54. ubuntu-18.04 \n \
  55. fedora-28 \n \
  56. centos-7 \n \
  57. debian-8 \n \
  58. debian-9 \n \
  59. opensuse-42.3 \n \
  60. "
  61. #
  62. # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
  63. # an incompatible way. Such changes should usually be detailed in the commit
  64. # that breaks the format and have been previously discussed on the mailing list
  65. # with general agreement from the core team.
  66. #
  67. OELAYOUT_ABI = "12"
  68. # add poky sanity bbclass
  69. INHERIT += "poky-sanity"
  70. # QA check settings - a little stricter than the OE-Core defaults
  71. WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
  72. installed-vs-shipped ldflags pn-overrides rpaths staticdev \
  73. unknown-configure-option useless-rpaths"
  74. WARN_QA_remove = "${WARN_TO_ERROR_QA}"
  75. ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
  76. require conf/distro/include/poky-world-exclude.inc
  77. require conf/distro/include/no-static-libs.inc
  78. require conf/distro/include/yocto-uninative.inc
  79. require conf/distro/include/security_flags.inc
  80. INHERIT += "uninative"