]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx7ulpevk.conf: Fix MACHINEOVERRIDES order
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 23 Sep 2019 15:50:35 +0000 (10:50 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 10 Oct 2019 12:14:41 +0000 (09:14 -0300)
The exact manifestation that uncovered this problem was not recorded.
Generally speaking, a recipe misconfiguration was occurring due to an
incorrect variable value, caused by incorrectly choosing the _imx
override of the variable instead of the SOC override.

This is fixed by setting the SOC family and the SOC in MACHINEOVERRIDES
before including tune-cortexa7.inc.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 9ba0cf3b74cf7884f9b1c1c44f92a96cb2a87525)

conf/machine/imx7ulpevk.conf

index 69adb3dafab9dd86ddb2cb966560176a5f726009..e493a5711d3e061a349652f87a349b737e1f82ae 100644 (file)
@@ -4,13 +4,13 @@
 #@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK
 #@MAINTAINER: Lauren Post <Lauren.Post@nxp.com>
 
+MACHINEOVERRIDES =. "mx7:mx7ulp:"
+
 require conf/machine/include/imx-base.inc
 require conf/machine/include/tune-cortexa7.inc
 
 MACHINE_FEATURES += " pci wifi bluetooth qca9377"
 
-MACHINEOVERRIDES =. "mx7:mx7ulp:"
-
 KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-mipi.dtb"
 KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb"
 KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb"