From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mms2.broadcom.com ([216.31.210.18]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QqVf4-00018U-JY for linux-mtd@lists.infradead.org; Mon, 08 Aug 2011 19:38:55 +0000 From: "Brian Norris" To: "Artem Bityutskiy" Subject: [PATCH 6/9] doc: update info on compiling mtd-utils Date: Mon, 8 Aug 2011 12:37:16 -0700 Message-ID: <1312832239-21759-7-git-send-email-computersforpeace@gmail.com> In-Reply-To: <1312832239-21759-1-git-send-email-computersforpeace@gmail.com> References: <1312832239-21759-1-git-send-email-computersforpeace@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: brian.foster@maxim-ic.com, Brian Norris , linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The recursive build system for mtd-utils was rewritten enough recently such that the description regarding builing ubi-utils by typing `make' from its subdirectory is now incorrect. Update the UBI docs to reflect this. Also, I copied and edited some basic info from the UBI docs to include in the general description on compiling mtd-utils. Signed-off-by: Brian Norris --- doc/ubi.xml | 11 ++++++----- faq/general.xml | 21 ++++++++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/doc/ubi.xml b/doc/ubi.xml index d3f4516..98cb69c 100644 --- a/doc/ubi.xml +++ b/doc/ubi.xml @@ -213,15 +213,16 @@ git tree. Please, use this branch unless you are an UBI developer.

User-space tools

-

UBI user-space tools are available from the the following git repository:

+

UBI user-space tools, as well as other MTD user-space tools, are available +from the the following git repository:

git://git.infradead.org/mtd-utils.git -

Please, clone it and compile. The easiest way to compile UBI tools is to go -straight to the ubi-utils sub-directory and type -make. This section +

Please, clone it and compile using make from the root mtd-utils +directory. This section provides information about how to compile the whole mtd-utils -repository tree.

+repository tree. You should find the UBI tools under the ubi-utils +sub-directory.

The repository contains the following UBI tools:

    diff --git a/faq/general.xml b/faq/general.xml index 0336a32..a4e82f3 100644 --- a/faq/general.xml +++ b/faq/general.xml @@ -256,11 +256,22 @@ unlock them.

    How do I compile the mtd-utils tree?

    -

    You have to install libraries the tools depend on. Please, find -the information about mkfs.jffs2 dependencies -here and the -the information about mkfs.ubifs dependencies -here.

    +

    +The MTD and UBI user-space tools are available from the the following git +repository: +

    + +git://git.infradead.org/mtd-utils.git + +

    +To compile, first you have to install libraries the tools depend on. You can +find the information about mkfs.jffs2 dependencies +here and the the information about +mkfs.ubifs dependencies +here. Once you have these satisfied, +you should be able to simply type make from the root mtd-utils +directory. +

    -- 1.7.0.4