[Buildroot] [PATCH 5/5] target/ubifs: Switched to mkfs.ubifs included in mtd-utils
hamish at cloud.net.au
Thu Apr 2 00:38:22 UTC 2009
On Thu, Mar 26, 2009 at 09:20:07PM +0100, Michael Roth wrote:
> The mkfs.ubifs is included in the upcomming mtd-utils. So
> the ubifs root filesytem target uses the mtd-utils package
> analog to the jffs2 root filesystem target.
Thanks, I just did something similar in my own tree.
> diff --git a/target/ubifs/Config.in b/target/ubifs/Config.in
> index 85229f6..7544b50 100644
> --- a/target/ubifs/Config.in
> +++ b/target/ubifs/Config.in
> @@ -1,9 +1,13 @@
> config BR2_TARGET_ROOTFS_UBIFS
> bool "ubifs root filesystem"
> select BR2_HOST_FAKEROOT
> + depends on BR2_PACKAGE_MTD_UTILS_GIT
This is needed due to the ugly multiple MTD versions stuff, but it
has the unfortunate side-effect of adding target binaries too -
all the default MTD utilities.
One solution would be to duplicate the mtd-utils.git stuff within a
separate host-only mkfs.ubifs target. Either inside target/ubifsroot, or
in toolchain or whatever. That could be switched over to mtd-utils 1.x.0
when it's released.
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
More information about the buildroot