Skip to contentSkip to conversation

qoriq-base: Set SOC default IMAGE_FSTYPES

PATCH New Fabio Berton 1 participant 1 message Oct 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qoriq-base: Set SOC default IMAGE_FSTYPES

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.

---
 conf/machine/include/qoriq-base.inc | 3 +++
 1 file changed, 3 insertions(+)
conf/machine/include/qoriq-base.inc +3 -0
index 7360a75..6c25d50 100644
@@ -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"
 
Signature · 1 line
2.1.4