Allow JFFS2 image creation options to be overridden
PATCH 1/1 Allow JFFS2 image creation options to be overridden
Allow the options for creating JFFS2 images to be specified by the target/machine. In other words, not the whole world is LittleEndian :-)
Tested on PowerPC target
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
From 3bf930fcfa7547a926df460931d855bd0bc35caf Mon Sep 17 00:00:00 2001
From: Gary Thomas <[email protected]>
Date: Thu, 7 Apr 2011 20:45:40 -0600
Subject: [PATCH] Allow JFFS2 image options to be overridden
Signed-off-by Gary Thomas <[email protected]>
--- meta/classes/image_types.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image_types.bbclass +1 -1
@@ -63,7 +63,7 @@ IMAGE_CMD_ubi () { IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}" EXTRA_IMAGECMD = "" -EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" +EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000" EXTRA_IMAGECMD_yaffs2 = "1" # Change these if you want default genext2fs behavior (i.e. create minimal inode number) EXTRA_IMAGECMD_ext2 ?= "-i 8192"
Signature · 1 line
1.7.3.4
Quoted 4 lines · Gary Thomas
Allow the options for creating JFFS2 images to be specified by the target/machine. In other words, not the whole world is LittleEndian :-)
Quoted 8 lines
Tested on PowerPC target
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Merged
Thanks
Sau!