linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: PATCH: README - Fix misleading pointer to the defconf directory
       [not found] <4A321A3C.6030400@gmx.de>
@ 2009-06-12  9:50 ` Arnd Bergmann
  2009-06-12 10:07   ` Patrick Ringl
  2009-06-12 11:58 ` PATCH: README - Fix misleading pointer to the defconf directory [NEW] Patrick Ringl
  1 sibling, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2009-06-12  9:50 UTC (permalink / raw)
  To: Patrick Ringl
  Cc: linux-kernel, torvalds, linux-kbuild, Roman Zippel, Sam Ravnborg

On Friday 12 June 2009, Patrick Ringl wrote:
> the README simply points to a wrong/non-existent directory where the default
> configurations are not suited, hence the patch.

On six architectures, it's still the right directory, your patch breaks it.

> Signed-off-by: Patrick Ringl <patrick_@freenet.de>
>
> --- linux.orig/README   2009-06-10 05:05:27.000000000 +0200
> +++ linux/README        2009-06-12 10:46:15.000000000 +0200
> @@ -175,7 +175,7 @@
>                            Like above, but avoids cluttering the screen
>                            with questions already answered.
>         "make defconfig"   Create a ./.config file by using the default
> -                          symbol values from arch/$ARCH/defconfig.
> +                          symbol values from arch/$ARCH/configs/*_defconfig.
>         "make allyesconfig"
>                            Create a ./.config file by setting symbol
>                            values to 'y' as much as possible.

You could write e.g.

	default symbol values from one of arch/{$ARCH}/defconfig or
	arch/${ARCH}/configs/${PLATFORM}_defconfig, depending on
	the architecture.

It would also be consistent to list the specific defconfigs here, like

	"make ${PLATFORM}_defconfig"
			Create a ./.config file by using the default
			symbol values from
			arch/${ARCH}/configs/${PLATFORM}_defconfig.
			Use "make help" to see a list of the available
			platforms on your architecture.

Not also that your patch should be merged through a subsystem maintainer.
If you don't know who that is, use scripts/get_maintainer.pl.
For scripts/kconfig/* and README it suggests sending it to Sam, Roman and
linux-kbuild@vger.kernel.org, which sounds right.

	Arnd <><

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: README - Fix misleading pointer to the defconf directory
  2009-06-12  9:50 ` PATCH: README - Fix misleading pointer to the defconf directory Arnd Bergmann
@ 2009-06-12 10:07   ` Patrick Ringl
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Ringl @ 2009-06-12 10:07 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-kernel, torvalds, linux-kbuild, Roman Zippel, Sam Ravnborg

Arnd Bergmann wrote:
> On Friday 12 June 2009, Patrick Ringl wrote:
>   
>> the README simply points to a wrong/non-existent directory where the default
>> configurations are not suited, hence the patch.
>>     
>
> On six architectures, it's still the right directory, your patch breaks it.
>
>   
Darn, I used 'find' to ensure the structure is consistent, stupidly I 
didn't check wether the amount of fitting cases equals the amount of 
platforms at all, thus I did miss those who do not fit.
>> Signed-off-by: Patrick Ringl <patrick_@freenet.de>
>>
>> --- linux.orig/README   2009-06-10 05:05:27.000000000 +0200
>> +++ linux/README        2009-06-12 10:46:15.000000000 +0200
>> @@ -175,7 +175,7 @@
>>                            Like above, but avoids cluttering the screen
>>                            with questions already answered.
>>         "make defconfig"   Create a ./.config file by using the default
>> -                          symbol values from arch/$ARCH/defconfig.
>> +                          symbol values from arch/$ARCH/configs/*_defconfig.
>>         "make allyesconfig"
>>                            Create a ./.config file by setting symbol
>>                            values to 'y' as much as possible.
>>     
>
> You could write e.g.
>
> 	default symbol values from one of arch/{$ARCH}/defconfig or
> 	arch/${ARCH}/configs/${PLATFORM}_defconfig, depending on
> 	the architecture.
>
> It would also be consistent to list the specific defconfigs here, like
>
> 	"make ${PLATFORM}_defconfig"
> 			Create a ./.config file by using the default
> 			symbol values from
> 			arch/${ARCH}/configs/${PLATFORM}_defconfig.
> 			Use "make help" to see a list of the available
> 			platforms on your architecture.
>
>   
I really like that approach! :-)
> Not also that your patch should be merged through a subsystem maintainer.
> If you don't know who that is, use scripts/get_maintainer.pl.
> For scripts/kconfig/* and README it suggests sending it to Sam, Roman and
> linux-kbuild@vger.kernel.org, which sounds right.
>
> 	Arnd <>
Right, I honestly didn't know about that useful tool (if the LKML-FAQ 
tells about this, I must've missed it). Thanks for your short review and 
the revealing of my overhasty blooper.

I am going to resend the patch with your suggestions above soon.


regards,
Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* PATCH: README - Fix misleading pointer to the defconf directory [NEW]
       [not found] <4A321A3C.6030400@gmx.de>
  2009-06-12  9:50 ` PATCH: README - Fix misleading pointer to the defconf directory Arnd Bergmann
@ 2009-06-12 11:58 ` Patrick Ringl
  2009-06-14 20:20   ` Sam Ravnborg
  1 sibling, 1 reply; 4+ messages in thread
From: Patrick Ringl @ 2009-06-12 11:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, linux-kbuild, Roman Zippel, Sam Ravnborg

Hello again,

after Arnd's short review and appropriate suggestions of change (thank 
you), here is an updated version of my earlier patch:


Signed-off-by: Patrick Ringl <patrick_@freenet.de>

<---->

--- linux.orig/README	2009-06-10 05:05:27.000000000 +0200
+++ linux/README	2009-06-12 13:47:38.000000000 +0200
@@ -175,7 +175,15 @@
  			   Like above, but avoids cluttering the screen
  			   with questions already answered.
  	"make defconfig"   Create a ./.config file by using the default
-			   symbol values from arch/$ARCH/defconfig.
+			   symbol values from either arch/$ARCH/defconfig
+			   or arch/$ARCH/configs/${PLATFORM}_defconfig,
+			   depending on the architecture.
+	"make ${PLATFORM}_defconfig"
+			   Create a ./.config file by using the default
+			   symbol values from
+			   arch/$ARCH/configs/${PLATFORM}_defconfig.
+			   Use "make help" to get a list of all available
+			   platforms of your architecture.
  	"make allyesconfig"
  			   Create a ./.config file by setting symbol
  			   values to 'y' as much as possible.

<---->


regards,
Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: README - Fix misleading pointer to the defconf directory [NEW]
  2009-06-12 11:58 ` PATCH: README - Fix misleading pointer to the defconf directory [NEW] Patrick Ringl
@ 2009-06-14 20:20   ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2009-06-14 20:20 UTC (permalink / raw)
  To: Patrick Ringl; +Cc: linux-kernel, torvalds, linux-kbuild, Roman Zippel

On Fri, Jun 12, 2009 at 01:58:36PM +0200, Patrick Ringl wrote:
> Hello again,
> 
> after Arnd's short review and appropriate suggestions of change (thank 
> you), here is an updated version of my earlier patch:
> 
> 
> Signed-off-by: Patrick Ringl <patrick_@freenet.de>
> 
> <---->
> 
> --- linux.orig/README	2009-06-10 05:05:27.000000000 +0200
> +++ linux/README	2009-06-12 13:47:38.000000000 +0200
> @@ -175,7 +175,15 @@
>  			   Like above, but avoids cluttering the screen
>  			   with questions already answered.
>  	"make defconfig"   Create a ./.config file by using the default
> -			   symbol values from arch/$ARCH/defconfig.
> +			   symbol values from either arch/$ARCH/defconfig
> +			   or arch/$ARCH/configs/${PLATFORM}_defconfig,
> +			   depending on the architecture.
> +	"make ${PLATFORM}_defconfig"
> +			   Create a ./.config file by using the default
> +			   symbol values from
> +			   arch/$ARCH/configs/${PLATFORM}_defconfig.
> +			   Use "make help" to get a list of all available
> +			   platforms of your architecture.
>  	"make allyesconfig"
>  			   Create a ./.config file by setting symbol
>  			   values to 'y' as much as possible.

Applied. I had to apply it manually for some reason.

	Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-14 20:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4A321A3C.6030400@gmx.de>
2009-06-12  9:50 ` PATCH: README - Fix misleading pointer to the defconf directory Arnd Bergmann
2009-06-12 10:07   ` Patrick Ringl
2009-06-12 11:58 ` PATCH: README - Fix misleading pointer to the defconf directory [NEW] Patrick Ringl
2009-06-14 20:20   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).