Skip to content

Commit

Permalink
kirkstone: Convert NXP overrides HYP-28554
Browse files Browse the repository at this point in the history
Convert old-style NXP overrides to new style BSP overides with script
meta-freescale/scripts/convert-bsp-specific-overrides.

Signed-off-by: Mario Schuknecht <[email protected]>
  • Loading branch information
Mario Schuknecht committed Jun 17, 2022
1 parent 44369b9 commit 23409fb
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
28 changes: 14 additions & 14 deletions conf/distro/hipos.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@ SDKPATHINSTALL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH}/${TUNE_PKGARCH}"
MAINTAINER = "DFE"

REMOVE_VULKAN_FEATURE = "vulkan"
REMOVE_VULKAN_FEATURE:mx8 = ""
REMOVE_VULKAN_FEATURE:mx8-nxp-bsp = ""
POKY_DEFAULT_DISTRO_FEATURES:remove = "wayland ${REMOVE_VULKAN_FEATURE}"
POKY_DEFAULT_DISTRO_FEATURES:append:mx8 = " jailhouse"
POKY_DEFAULT_DISTRO_FEATURES:append:mx8-nxp-bsp = " jailhouse"

INHERIT:remove = "uninative"

PREFERRED_PROVIDER_virtual/bootloader:mx8 = "u-boot-imx"
PREFERRED_PROVIDER_virtual/kernel:mx8 = "linux-imx"
PREFERRED_PROVIDER_virtual/bootloader:mx8-nxp-bsp = "u-boot-imx"
PREFERRED_PROVIDER_virtual/kernel:mx8-nxp-bsp = "linux-imx"

PREFERRED_VERSION_linux-libc-headers:imx ?= "5.10"
PREFERRED_VERSION_linux-libc-headers:imx-nxp-bsp ?= "5.10"

PREFERRED_PROVIDER_opencl-headers:imxgpu = "imx-gpu-viv"
PREFERRED_PROVIDER_opencl-icd-loader:imxgpu = "imx-gpu-viv"

PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good-qt:mx8 = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0:mx8 = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-libav:mx8 = "1.18.0"
PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8-nxp-bsp = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8-nxp-bsp = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8-nxp-bsp = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good-qt:mx8-nxp-bsp = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0:mx8-nxp-bsp = "1.18.0.imx"
PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp = "1.18.0"

PREFERRED_VERSION_opengl-es-cts = "3.2.6.1"
PREFERRED_VERSION_opengl-es-cts:mx6 = "3.2.4.0"
PREFERRED_VERSION_opengl-es-cts:mx7 = "3.2.4.0"
PREFERRED_VERSION_opengl-es-cts:mx6-nxp-bsp = "3.2.4.0"
PREFERRED_VERSION_opengl-es-cts:mx7-nxp-bsp = "3.2.4.0"

# Use systemd as default init manager
VIRTUAL-RUNTIME_init_manager = "systemd"
Expand All @@ -50,7 +50,7 @@ POKY_DEFAULT_DISTRO_FEATURES += " systemd"
# Remove conflicting backends
DISTRO_FEATURES:remove = "directfb x11 "
DISTRO_FEATURES:append = " pam systemd"
DISTRO_FEATURES:append:mx8 = " wayland"
DISTRO_FEATURES:append:mx8-nxp-bsp = " wayland"

LICENSE_FLAGS_ACCEPTED += "commercial"

Expand Down
4 changes: 2 additions & 2 deletions conf/machine/himx0294.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#@SOC: i.MX6Q
#@DESCRIPTION: Machine configuration for DResearch HydraIP device based on Freescale i.MX6 (Smart Terminal)

MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"
MACHINEOVERRIDES =. "mx6q:mx6dl:"

include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa9.inc
Expand All @@ -14,7 +14,7 @@ IMX_DEFAULT_BSP = "nxp"

SERIAL_CONSOLES = "115200;ttymxc1"

SOC_FAMILY = "mx6:mx6dl:mx6q"
SOC_FAMILY = "mx6dl:mx6q"

KERNEL_DEVICETREE = " \
imx6q-himx0294-imoc.dtb \
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/imx6dqscm-1gb-evb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

require conf/machine/include/imx6sabresd-common.inc

SOC_FAMILY = "mx6:mx6q"
SOC_FAMILY = "mx6q"

KERNEL_DEVICETREE = "imx6dqscm-1gb-evb-fix-ldo.dtb imx6dqscm-1gb-evb-hdcp-fix-ldo.dtb \
imx6dqscm-1gb-evb-enetirq-fix-ldo.dtb imx6dqscm-1gb-evb-btwifi-fix-ldo.dtb"
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/imx6dqscm-1gb-qwks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require conf/machine/include/imx6sabresd-common.inc
include conf/machine/include/soc-family.inc

SOC_FAMILY = "mx6:mx6q"
SOC_FAMILY = "mx6q"

KERNEL_DEVICETREE = "imx6dqscm-1gb-qwks-rev2-interleave-ldo.dtb imx6dqscm-1gb-qwks-rev2-hdcp-interleave-ldo.dtb imx6dqscm-1gb-qwks-rev2-wifi-interleave-ldo.dtb imx6dqscm-1gb-qwks-rmii-50mhz.dtb"

Expand Down
2 changes: 1 addition & 1 deletion conf/machine/imx6dqscm-2gb-evb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

require conf/machine/include/imx6sabresd-common.inc

SOC_FAMILY = "mx6:mx6q"
SOC_FAMILY = "mx6q"

KERNEL_DEVICETREE = "imx6dqscm-2gb-evb-fix-ldo.dtb imx6dqscm-2gb-evb-hdcp-fix-ldo.dtb \
imx6dqscm-2gb-evb-enetirq-fix-ldo.dtb imx6dqscm-2gb-evb-btwifi-fix-ldo.dtb"
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/imx6dqscm-epop-qwks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

require conf/machine/include/imx6sabresd-common.inc

SOC_FAMILY = "mx6:mx6q"
SOC_FAMILY = "mx6q"

KERNEL_DEVICETREE = "imx6dqscm-512mb-qwks-rev2-fix-ldo.dtb imx6dqscm-512mb-qwks-rev2-hdcp-fix-ldo.dtb imx6dqscm-512mb-qwks-rev2-wifi-fix-ldo.dtb"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

REQUIRED_DISTRO_FEATURES:remove:mx8 = "wayland"
REQUIRED_DISTRO_FEATURES:remove:mx8-nxp-bsp = "wayland"
2 changes: 1 addition & 1 deletion recipes-kernel/linux/linux-boundary_5.15.bbappend
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
inherit kernel_wireless_regdb

COMPATIBLE_MACHINE = "(himx0294|himx|nitrogen6x|nitrogen6x-lite|mx6)"
COMPATIBLE_MACHINE = "(himx0294|himx-nxp-bsp|nitrogen6x|nitrogen6x-lite|mx6-nxp-bsp)"

FILESEXTRAPATHS:prepend := "${THISDIR}/linux-boundary-5.15:"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
# the following line is required to produce one package for each plugin
PACKAGES_DYNAMIC = "^${PN}-.*"

COMPATIBLE_MACHINE = "(mx6dl|mx6q|mx6sl|mx6sx|mx6ul|mx6ull|mx7d)"
COMPATIBLE_MACHINE = "(mx6dl-nxp-bsp|mx6q-nxp-bsp|mx6sl-nxp-bsp|mx6sx-nxp-bsp|mx6ul-nxp-bsp|mx6ull-nxp-bsp|mx7d-nxp-bsp)"
2 changes: 1 addition & 1 deletion recipes-qt/qt5/qtbase_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/qtbase:"

# Append qtbase configuration

PACKAGECONFIG:append:mx6 = " tslib icu examples sql-sqlite "
PACKAGECONFIG:append:mx6-nxp-bsp = " tslib icu examples sql-sqlite "

SRC_URI:append:imxgpu3d = " \
file://0015-Add-eglfs-to-IMX-GPU.patch \
Expand Down
2 changes: 1 addition & 1 deletion recipes-support/rng-tools/rng-tools_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Up to Yocto honister this dependency did not exist. For i.mx6
# machines, the dependency is removed again to speed up the boot
# process.
FILESEXTRAPATHS:prepend:mx6 := "${THISDIR}/imx6:"
FILESEXTRAPATHS:prepend:mx6-nxp-bsp := "${THISDIR}/imx6:"

0 comments on commit 23409fb

Please sign in to comment.