local.conf 4.2 KB
Newer Older
1
MACHINE ?= "phyboard-nunki-imx6-1"
Enrico Scholz's avatar
Enrico Scholz committed
2

3 4
#DISTRO ?= "yogurt"

5
BBMASK += "(meta-phytec/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend)"
6 7 8 9 10 11 12 13 14 15 16

TCLIBCAPPEND = ""

DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_remove = "argp irda pcmcia zeroconf x11 ptest multiarch vulkan wayland"

VIRTUAL-RUNTIME_dev_manager = "udev"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"

IMAGE_LINGUAS = "de-de fr-fr en-us"
Enrico Scholz's avatar
Enrico Scholz committed
17

18 19 20
INHERIT += "elito-uridecode"
URI_PROJECT_BASE ?= "git+https://gitlab-ext.sigma-chemnitz.de/phytec/vm016"

21 22
KERNEL_DEVICETREE_forcevariable = "phyboard-nunki-imx6_vm016.dtb"

23
IMAGE_FSTYPES += "tar.xz wic.xz"
Enrico Scholz's avatar
Enrico Scholz committed
24

25 26 27
########################
# global configuration #
########################
Enrico Scholz's avatar
Enrico Scholz committed
28 29 30 31 32 33 34 35 36

# That are the default values of bitbake.  Adapt these to your workspace and
# host preferences.
#DL_DIR = "${TOPDIR}/downloads"
#SSTATE_DIR = "${TOPDIR}/sstate-cache"

# License Handling
#  - Uncomment for i.MX6 proprietary GPU libraries
#LICENSE_FLAGS_WHITELIST += "license-nxp_v14-june-2016_imx-gpu-viv"
37 38
#  - Uncomment for Freescale i.MX6 VPU firmware blobs
#LICENSE_FLAGS_WHITELIST += "license-freescale_v12-march-2016_firmware-imx"
Enrico Scholz's avatar
Enrico Scholz committed
39

40
# build artifacts are deployed here
41
DEPLOY_DIR = "${TMPDIR}/deploy"
Enrico Scholz's avatar
Enrico Scholz committed
42 43 44

# Select configuration UI for linux and barebox recipe. The openembedded
# default is 'menuconfig', 'nconfig' has more features.
45
# busybox only supports menuconfig
Enrico Scholz's avatar
Enrico Scholz committed
46 47
#KCONFIG_CONFIG_COMMAND = "menuconfig"
KCONFIG_CONFIG_COMMAND = "nconfig"
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
KCONFIG_CONFIG_COMMAND_pn-busybox = "menuconfig"

# SDK will be build for that cpu
#SDKMACHINE ?= "x86_64"

# bitbake disk monitor setup
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"

#######################
# Image configuration #
#######################

# The following line disables the autostart of the phytec-qtdemo by
# default, but you can start the demo anytime using
#  $ systemctl start phytec-qtdemo.service
#SYSTEMD_AUTO_ENABLE_pn-phytec-qtdemo = "disable"

# You can disable and enable FSTYPES as you wish. e.g. 'ext4'.
# This variable is ordering dependend.
#IMAGE_FSTYPES = "tar.gz wic ubifs emmc"
Enrico Scholz's avatar
Enrico Scholz committed
76 77

# Turn on debugging options of the kernel
78 79 80
DEBUG_BUILD_pn-linux-mainline = "1"
# Turn on debugging options of the barebox
DEBUG_BUILD_pn-barebox = "1"
Enrico Scholz's avatar
Enrico Scholz committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107

# The default package class of the distro yogurt is 'package_ipk'. The first
# value is used as the package manager to build the image and sdk. To build
# also tar packages use
#PACKAGE_CLASSES = "package_ipk package_tar"

# Variable IMAGE_ROOTFS_EXTRA_SPACE from poky/meta/conf/documentation.conf:
#   Defines additional free disk space created in the image in Kbytes. By
#   default, this variable is set to '0'.
# This example line adds an additional 512 MiB of free space to the root
# filesystem:
#IMAGE_ROOTFS_EXTRA_SPACE = "524288"

# See http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#ref-features-image
#   "Through these variables, you can add several different predefined
#    packages such as development utilities or packages with debug information
#    needed to investigate application problems or profile applications
EXTRA_IMAGE_FEATURES = ""
# - "Makes an image suitable for development (e.g. allows root logins without
#    passwords and enables post-installation logging)"
EXTRA_IMAGE_FEATURES += "debug-tweaks"
# - "Installs debug symbol packages for all packages installed in a given
#    image."
#EXTRA_IMAGE_FEATURES += "dbg-pkgs"
# - "Installs debugging tools such as strace and gdb."
#EXTRA_IMAGE_FEATURES += "tools-debug"

108 109 110
######################
# rauc configuration #
######################
Enrico Scholz's avatar
Enrico Scholz committed
111

112 113
# certificate location for signing bundles
#CERT_PATH = "${TOPDIR}/../sources/meta-yogurt/openssl-ca"
Enrico Scholz's avatar
Enrico Scholz committed
114

115 116 117
####################
# QT configuration #
####################
Enrico Scholz's avatar
Enrico Scholz committed
118

119 120 121
# We disable qt widgets per default to save about 10 MB of storage. If
# you need qt widget support, you can enable it with this line
#DISTRO_FEATURES += "qtwidgets"
Enrico Scholz's avatar
Enrico Scholz committed
122 123

CONF_VERSION = "1"
124

Enrico Scholz's avatar
Enrico Scholz committed
125 126 127 128
HOSTNAME := "${@bb.process.run('hostname')[0].strip()}"

include conf/local_${HOSTNAME}.conf
include conf/local-local.conf