Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] [skeleton] option to define path to custom rootfs skeleton
Date: Tue, 15 Jun 2010 09:21:13 +0200	[thread overview]
Message-ID: <20100615092113.19f92cf3@surf> (raw)
In-Reply-To: <4c114472.0d01df0a.4f84.1499@mx.google.com>

Hello,

On Thu, 10 Jun 2010 22:58:40 +0300
Dmytro Milinevskyy <milinevskyy@gmail.com> wrote:

> index 6865eea..2163890 100644
> --- a/fs/Config.in
> +++ b/fs/Config.in
> @@ -23,6 +23,30 @@ config BR2_ROOTFS_DEVICE_TABLE
>           to the makedevs utility to create all the special device
>           files in the target filesystem.
>  
> +choice
> +	prompt "Root FS skeleton"
> +
> +	config BR2_ROOTFS_SKELETON_DEFAULT
> +		bool "default target skeleton"
> +        help
> +          Use default target skeleton
> +
> +	config BR2_ROOTFS_SKELETON_CUSTOM
> +		bool "custom target skeleton"
> +		help
> +	  	 Use custom target skeleton.
> +
> +endchoice
> +
> +if BR2_ROOTFS_SKELETON_CUSTOM
> +	config BR2_ROOTFS_SKELETON_CUSTOM_PATH
> +		string "custom target skeleton path"
> +        default "fs/skeleton"
> +		help
> +	  	 Path custom target skeleton.
> +endif
> +
> +

You have indentation issues here. It should be:

choice
	prompt "Root FS skeleton"

config BR2_ROOTFS_SKELETON_DEFAULT
	bool "default target skeleton"
	help
	  Use default target skeleton

config BR2_ROOTFS_SKELETON_CUSTOM
	bool "custom target skeleton"
	help
	  Use custom target skeleton

endchoice

if BR2_ROOTFS_SKELETON_CUSTOM

config BR2_ROOTFS_SKELETON_CUSTOM_PATH
	string "custom target skeleton path"
	default "fs/skeleton"
	help
	  Path to the custom target skeleton

endif

So :

 * config statements at the beginning of the line
 * one tab before "bool" and "help"
 * tab + 2 spaces before each line of the help message

Otherwise, looks good to me, thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2010-06-15  7:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 19:58 [Buildroot] [PATCH 2/2] [skeleton] option to define path to custom rootfs skeleton Dmytro Milinevskyy
2010-06-15  7:21 ` Thomas Petazzoni [this message]
2010-06-15  8:14   ` Dmytro Milinevskyy
  -- strict thread matches above, loose matches on Subject: below --
2010-06-16 20:25 Dmytro Milinevskyy

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=20100615092113.19f92cf3@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox