summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-freescale-layer/recipes-kernel/linux/linux-fslc-imx_%.bbappend
blob: c6f60d33be0e1f4092e10c73d30fac5bb6f71006 (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
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:${THISDIR}/files:"

require recipes-kernel/linux/linux-yocto-agl.inc

# These patches and the configuration fragment below will need to be
# revisited if/when using IMX_DEFAULT_BSP = "mainline" with i.MX8
# becomes more feasible with upstream meta-freescale.
SRC_URI_append_etnaviv = " \
    file://0001-enable-mhdp-with-etnaviv.patch \
    file://0002-dts-enable-etnaviv.patch \
"

# Make sure these are enabled so that AGL systemd configuration works
AGL_KCONFIG_FRAGMENTS += " \
    tmpfs.cfg \
    namespace.cfg \
    cgroup.cfg \
"

# Support for CFG80211 subsystem
AGL_KCONFIG_FRAGMENTS += "cfg80211.cfg"

# Turn off a couple of things enabled by default by Freescale
# (lock debugging and userspace firmware loader fallback)
AGL_KCONFIG_FRAGMENTS += "fixups.cfg"

# Support for i.MX8MQ EVKB (e.g. Broadcom wifi)
AGL_KCONFIG_FRAGMENTS_append_imx8mqevk = " imx8mq-evkb.cfg"

# Build in etnaviv if required
AGL_KCONFIG_FRAGMENTS_append_etnaviv = " etnaviv.cfg"
RRED_PROVIDER_libgbm = "libgbm" PREFERRED_RPROVIDER_libgbm-dev = "libgbm" # Mask the gstreamer recipe for MMP BBMASK = "meta-renesas/meta-rcar-gen3/recipes-multimedia/gstreamer" # Add for gstreamer plugins ugly LICENSE_FLAGS_WHITELIST = "commercial" PREFERRED_VERSION_gstreamer1.0-libav = "1.6.3" PREFERRED_VERSION_gstreamer1.0-plugins-base = "1.6.3" PREFERRED_VERSION_gstreamer1.0-plugins-bad = "1.6.3" PREFERRED_VERSION_gstreamer1.0-plugins-good = "1.6.3" PREFERRED_VERSION_gstreamer1.0-plugins-ugly = "1.6.3" PREFERRED_VERSION_gstreamer1.0-plugins-vspfilter = "1.0%" MACHINE_FEATURES_append = " multimedia" DISTRO_FEATURES_append = " use_eva_pkg" #DISTRO_FEATURES_append = " h265dec_lib mpeg2dec_lib" DISTRO_FEATURES_append = " h264dec_lib aaclcdec_lib aaclcdec_mdw" DISTRO_FEATURES_BACKFILL_remove = "gobject-introspection-data" IMAGE_INSTALL_append_rcar-gen3 = " \ kernel-module-pvrsrvkm \ kernel-module-vsp2 \ kernel-module-vspm-if \ omx-user-module \ weston-bin \ " BBMASK .= "|meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-forward-port/"