]> code.ossystems Code Review - meta-freescale.git/commitdiff
qoriq-base: Set SOC default IMAGE_FSTYPES
authorFabio Berton <fabio.berton@ossystems.com.br>
Mon, 10 Oct 2016 13:53:11 +0000 (10:53 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 18 Oct 2016 18:26:14 +0000 (16:26 -0200)
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@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
conf/machine/include/qoriq-base.inc

index 7360a75ad36e5e640bd70e45ccb91c32344fad93..6c25d50e7cc110280d9f15620794be758fa95b72 100644 (file)
@@ -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"