]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx6ullevk: Stop forcing the U-Boot and Linux kernel to imx flavour
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 10 Jun 2020 20:04:05 +0000 (17:04 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 11 Jun 2020 19:52:39 +0000 (16:52 -0300)
We should avoid overriding the U-Boot and Linux kernel to imx flavour as
we might use mainline or their forks; this fixes build errors when using
fslc distros as:

,----[ Build error ]
| ERROR: Nothing PROVIDES 'virtual/kernel'
| linux-fslc-lts-4.19 PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-fslc-lts-4.19
| linux-fslc-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-fslc PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-fslc
| linux-imx PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-fslc-qoriq PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-rt PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-tiny PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto-dev PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-yocto PROVIDES virtual/kernel but was skipped: incompatible with machine imx6ullevk (not in COMPATIBLE_MACHINE)
| linux-dummy PROVIDES virtual/kernel but was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-imx, not linux-dummy
| ERROR: Required build target 'core-image-minimal' has no buildable providers.
| Missing or unbuildable dependency chain was: ['core-image-minimal', 'virtual/kernel']
`----

Fixes: #432
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/machine/imx6ullevk.conf

index 9351954fac73065aa9ca0535c5af0139c36239b2..f9838b4cf84f86606402eac9960bc7c95b9c6a0e 100644 (file)
@@ -21,10 +21,6 @@ UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "mx6ull_14x14_evk_config,sdcard"
 UBOOT_CONFIG[mfgtool] = "mx6ull_14x14_evk_config"
 
-PREFERRED_PROVIDER_u-boot = "u-boot-imx"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
-PREFERRED_PROVIDER_virtual/kernel = "linux-imx"
-
 SERIAL_CONSOLES = "115200;ttymxc0"
 
 MACHINE_FEATURES += "wifi bluetooth"