All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Berton <fabio.berton@ossystems.com.br>
To: meta-freescale@yoctoproject.org
Subject: [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES
Date: Thu,  6 Oct 2016 18:19:20 -0300	[thread overview]
Message-ID: <1475788760-8388-1-git-send-email-fabio.berton@ossystems.com.br> (raw)

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@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



             reply	other threads:[~2016-10-06 21:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-06 21:19 Fabio Berton [this message]
2016-10-08  3:04 ` [PATCH] qoriq-base: Set SOC default IMAGE_FSTYPES Zhenhua Luo
2016-10-10 12:51   ` Fabio Berton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475788760-8388-1-git-send-email-fabio.berton@ossystems.com.br \
    --to=fabio.berton@ossystems.com.br \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.