summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_fsl.bbclass2
-rw-r--r--classes/mfgtool-initramfs-image.bbclass2
-rw-r--r--classes/use-imx-headers.bbclass4
-rw-r--r--classes/use-imx-security-controller-firmware.bbclass8
4 files changed, 8 insertions, 8 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index cdd16a66..cdfbb97e 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -37,7 +37,7 @@ do_image_wic[depends] += " \
37" 37"
38 38
39# We need to apply a fixup inside of the partition table 39# We need to apply a fixup inside of the partition table
40IMAGE_CMD:wic:append:mxs() { 40IMAGE_CMD:wic:append:mxs-generic-bsp() {
41 # Change partition type for mxs processor family 41 # Change partition type for mxs processor family
42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family." 42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family."
43 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc 43 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index 1d4c5513..deae9c93 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -13,7 +13,7 @@ FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs"
13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" 13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs"
14 14
15IMAGE_FSTYPES = "cpio.gz.u-boot" 15IMAGE_FSTYPES = "cpio.gz.u-boot"
16IMAGE_FSTYPES:mxs = "cpio.gz.u-boot" 16IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot"
17IMAGE_ROOTFS_SIZE ?= "8192" 17IMAGE_ROOTFS_SIZE ?= "8192"
18 18
19# Filesystems enabled by default 19# Filesystems enabled by default
diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass
index c6c7f043..4baf4574 100644
--- a/classes/use-imx-headers.bbclass
+++ b/classes/use-imx-headers.bbclass
@@ -13,14 +13,14 @@
13# 13#
14# Copyright 2018 (C) O.S. Systems Software LTDA. 14# Copyright 2018 (C) O.S. Systems Software LTDA.
15 15
16DEPENDS:append:imx = " linux-imx-headers" 16DEPENDS:append:imx-nxp-bsp = " linux-imx-headers"
17 17
18# Set runtime dependency of -dev for package inheriting this class to 18# Set runtime dependency of -dev for package inheriting this class to
19# linux-imx-headers-dev package. This is required in order to propagate 19# linux-imx-headers-dev package. This is required in order to propagate
20# headers into the SDK 20# headers into the SDK
21RDEPENDS:${PN}-dev += "linux-imx-headers-dev" 21RDEPENDS:${PN}-dev += "linux-imx-headers-dev"
22 22
23PACKAGE_ARCH:imx ?= "${MACHINE_SOCARCH}" 23PACKAGE_ARCH:imx-nxp-bsp ?= "${MACHINE_SOCARCH}"
24 24
25STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" 25STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx"
26 26
diff --git a/classes/use-imx-security-controller-firmware.bbclass b/classes/use-imx-security-controller-firmware.bbclass
index 9650059b..bdbf3684 100644
--- a/classes/use-imx-security-controller-firmware.bbclass
+++ b/classes/use-imx-security-controller-firmware.bbclass
@@ -18,14 +18,14 @@
18 18
19SECO_FIRMWARE_NAME ?= "" 19SECO_FIRMWARE_NAME ?= ""
20 20
21SECO_FIRMWARE_NAME:mx8qm = "mx8qmb0-ahab-container.img" 21SECO_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qmb0-ahab-container.img"
22SECO_FIRMWARE_NAME:mx8qxp = \ 22SECO_FIRMWARE_NAME:mx8qxp-nxp-bsp = \
23 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'mx8qxb0-ahab-container.img', \ 23 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'mx8qxb0-ahab-container.img', \
24 'mx8qxc0-ahab-container.img', d)}" 24 'mx8qxc0-ahab-container.img', d)}"
25SECO_FIRMWARE_NAME:mx8dxl = "mx8dxla1-ahab-container.img" 25SECO_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxla1-ahab-container.img"
26 26
27python () { 27python () {
28 if "mx8m" in d.getVar('MACHINEOVERRIDES').split(":"): 28 if "mx8m-nxp-bsp" in d.getVar('MACHINEOVERRIDES').split(":"):
29 return # We need to allow the recipes to be parsed for this case 29 return # We need to allow the recipes to be parsed for this case
30 30
31 seco_firmware = d.getVar('SECO_FIRMWARE_NAME') 31 seco_firmware = d.getVar('SECO_FIRMWARE_NAME')