meta-digi/meta-digi-dey/conf/distro/dey.conf

142 lines
5.3 KiB
Plaintext

DISTRO = "dey"
SDK_DISTRO = "poky"
DISTRO_NAME = "Digi Embedded for Yocto"
DISTRO_VERSION = "1.3.2"
SDK_VENDOR = "-pokysdk"
SDK_VERSION := "${DISTRO_VERSION}"
MAINTAINER = "Digi Support <support@digi.com>"
TARGET_VENDOR = "-dey"
LOCALCONF_VERSION = "1"
LAYER_CONF_VERSION ?= "6"
# Comment out features to leave them out
DISTRO_FEATURES = "alsa"
DISTRO_FEATURES += "ext2"
DISTRO_FEATURES += "usbgadget"
DISTRO_FEATURES += "usbhost"
DISTRO_FEATURES += "nfs"
DISTRO_FEATURES += "${DISTRO_FEATURES_LIBC}"
DISTRO_FEATURES += "largefile"
DISTRO_FEATURES += "opengl"
DISTRO_FEATURES += "wifi"
DISTRO_FEATURES += "accel-video"
DISTRO_FEATURES += "accel-graphics"
DISTRO_FEATURES += "accelerometer"
DISTRO_FEATURES += "ext-eth"
# Disable pulseaudio (not needed in dey-image-minimal)
DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
PREFERRED_PROVIDER_jpeg = "jpeg"
PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.4%"
PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "3.4%"
PREFERRED_VERSION_linux-yocto_qemuarm ?= "3.4%"
PREFERRED_VERSION_linux-yocto_qemumips ?= "3.4%"
PREFERRED_VERSION_linux-yocto_qemuppc ?= "3.4%"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
SDKPATH = "/opt/${SDK_DISTRO}/${SDK_VERSION}"
EXTRAOPKGCONFIG = "poky-feed-config-opkg"
# Override these in poky based distros to modify DISTRO_EXTRA_R*
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-dey-core"
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
POKYQEMUDEPS = "${@base_contains("INCOMPATIBLE_LICENSE", "GPLv3", "", "qemu-config",d)}"
DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${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 i386 mips mipsel ppc x86_64"
# Other QEMU_TARGETS "mips64 mips64el sh4"
# Some packages like gst-plugins-ugly need this
LICENSE_FLAGS_WHITELIST += "commercial"
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 \
hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
svk://.*/.* 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"
MIRRORS += "\
ftp://.*/.* ${DIGI_MIRROR}/ \n \
http://.*/.* ${DIGI_MIRROR}/ \n \
https://.*/.* ${DIGI_MIRROR}/ \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=HEAD
CONNECTIVITY_CHECK_URIS ?= " \
https://eula-downloads.yoctoproject.org/index.php \
http://bugzilla.yoctoproject.org/report.cgi"
SANITY_TESTED_DISTROS ?= " \
Yocto (Built by Poky 7.0) 1.2 \n \
Yocto (Built by Poky 8.0) 1.3 \n \
Poky 7.0 (Yocto Project 1.2 Reference Distro) 1.2 \n \
Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 \n \
Ubuntu 10.04.4 LTS \n \
Ubuntu 11.10 \n \
Ubuntu 12.04 LTS \n \
Ubuntu 12.04.1 LTS \n \
Ubuntu 12.04.2 LTS \n \
Ubuntu 12.10 \n \
Fedora release 16 (Verne) \n \
Fedora release 17 (Beefy Miracle) \n \
Fedora release 18 (Spherical Cow) \n \
CentOS release 5.6 (Final) \n \
CentOS release 5.7 (Final) \n \
CentOS release 5.8 (Final) \n \
CentOS release 6.3 (Final) \n \
Debian GNU/Linux 6.0.6 (squeeze) \n \
openSUSE 11.4 \n \
openSUSE 12.1 \n \
openSUSE 12.2 \n \
"
# Default hash policy for distro
BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
#
# 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 = "8"
# add poky sanity bbclass
INHERIT += "poky-sanity"
#WARN_QA = "unsafe-references-in-binaries unsafe-references-in-scripts"
WARN_QA = ""
ERROR_QA = "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms useless-rpaths rpaths staticdev ldflags"
# Mask openembedded core gst-ffmpeg recipe because it adds a dependency on libav (libgl, libx11)
BBMASK = "meta-openembedded/meta-oe/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bbappend"
BBMASK .= "${@base_contains('DISTRO_FEATURES', 'x11', '', '|.*amd-gpu-x11-bin-mx51_.*bb', d)}"
BBMASK .= "|meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb"