summaryrefslogtreecommitdiff
path: root/conf/distro/common.inc
blob: 41b1e1aa28a46d27aea7bf7dfb6fad697bacb709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DISTRO_VERSION ??= "UNASSIGNED"
DISTRO_VERSION_mx6 = "BSP-Yocto-i.MX6-PD-morty"
DISTRO_VERSION_mx6ul = "BSP-Yocto-phyBOARD-Segin-PD17.2.0"
DISTRO_VERSION_ti33x = "BSP-Yocto-AM335x-PD17.1.3"
DISTRO_VERSION_rk3288 = "BSP-Yocto-RK3288-PD17.1.3"
DISTRO_VERSION_phyboard-mira-imx6-13 = "BSP-Yocto-HTML5-phyBOARD-Mira-v1.0"
VENDOR = "phytec"
TARGET_VENDOR = "-${VENDOR}"

SDK_VENDOR = "-${VENDOR}sdk"
SDK_VERSION := "${DISTRO_VERSION}"
SDK_NAME = "${VENDOR}-${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDKPATH = "/opt/${VENDOR}-${DISTRO}/${SDK_VERSION}"

#activate config checker
INHERIT += "sanity"

#we provide source mirrors for missing packages
INHERIT += "phytec-mirrors"

#run QA tests on builds and packages and log them
INHERIT += "insane"
QA_LOG = "1"

# Log information on images and packages
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
INHERIT += "buildstats"

# Prelink images
INHERIT += "image-prelink"

# optimize lib sizes with mklibs
INHERIT += "image-mklibs"

#run QA tests on recipes
#INHERIT += "recipe_sanity"

PACKAGE_CLASSES ?= "package_ipk"

# All images build with the distribution get the version package
IMAGE_INSTALL_append = " os-release"
PREFERRED_PROVIDER_os-release = "yogurt-version"