[meta-freescale] [PATCH v2] qoriq-base: Set SOC default IMAGE_FSTYPES
Fabio Berton
fabio.berton at ossystems.com.br
Mon Oct 10 06:53:11 PDT 2016
Create SOC_DEFAULT_IMAGE_FSTYPES variable with default IMAGE_FSTYPES
used by all QorIQ targets. Default FSTYPES are tar.gz, ext2.gz.u-boot
and ext2.gz.
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..6c25d50 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.gz.u-boot ext2.gz"
+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