[meta-freescale] [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES

Fabio Berton fabio.berton at ossystems.com.br
Thu Oct 6 14:19:20 PDT 2016


Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES
used by all QorIQ targets. Default FSTYPES are tar.gz and ext2.u-boot.

The IMAGE_FSTYPES need to be overriden without using the SoC family
overrides, for user-friendness, and to allow this we need to use a SoC
variable to construct the default value for setting.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 conf/machine/include/qoriq-base.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 7360a75..5346811 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -11,6 +11,9 @@ PREFERRED_VERSION_testfloat = "2a"
 
 IMAGE_CLASSES += "image_types_uboot"
 
+SOC_DEFAULT_IMAGE_FSTYPES = "tar.gz ext2.u-boot"
+IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
+
 MACHINE_FEATURES ?= "pci ext2 ext3 serial"
 MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules"
 
-- 
2.1.4



More information about the meta-freescale mailing list