All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: change example to existing Makefile fragment
@ 2013-03-25 10:16 Paul Bolle
  2013-03-26  0:40 ` Rob Landley
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Bolle @ 2013-03-25 10:16 UTC (permalink / raw)
  To: Rob Landley; +Cc: linux-doc, linux-kernel

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
 Documentation/kbuild/makefiles.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 5198b74..020bb67 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -921,8 +921,9 @@ When kbuild executes, the following steps are followed (roughly):
 	Often, the KBUILD_CFLAGS variable depends on the configuration.
 
 	Example:
-		#arch/x86/Makefile
-		cflags-$(CONFIG_M386) += -march=i386
+		#arch/x86/boot/compressed/Makefile
+		cflags-$(CONFIG_X86_32) := -march=i386
+		cflags-$(CONFIG_X86_64) := -mcmodel=small
 		KBUILD_CFLAGS += $(cflags-y)
 
 	Many arch Makefiles dynamically run the target C compiler to
-- 
1.7.11.7




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

* Re: [PATCH] doc: change example to existing Makefile fragment
  2013-03-25 10:16 [PATCH] doc: change example to existing Makefile fragment Paul Bolle
@ 2013-03-26  0:40 ` Rob Landley
  2013-04-08 10:42   ` Michal Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Landley @ 2013-03-26  0:40 UTC (permalink / raw)
  To: Paul Bolle; +Cc: linux-doc, linux-kernel, Michal Marek

On 03/25/2013 05:16:24 AM, Paul Bolle wrote:
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
>  Documentation/kbuild/makefiles.txt | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Acked-by: Rob Landley <rob@landley.net>

Please send through the kbuild tree.

Rob

> diff --git a/Documentation/kbuild/makefiles.txt  
> b/Documentation/kbuild/makefiles.txt
> index 5198b74..020bb67 100644
> --- a/Documentation/kbuild/makefiles.txt
> +++ b/Documentation/kbuild/makefiles.txt
> @@ -921,8 +921,9 @@ When kbuild executes, the following steps are  
> followed (roughly):
>  	Often, the KBUILD_CFLAGS variable depends on the configuration.
> 
>  	Example:
> -		#arch/x86/Makefile
> -		cflags-$(CONFIG_M386) += -march=i386
> +		#arch/x86/boot/compressed/Makefile
> +		cflags-$(CONFIG_X86_32) := -march=i386
> +		cflags-$(CONFIG_X86_64) := -mcmodel=small
>  		KBUILD_CFLAGS += $(cflags-y)
> 
>  	Many arch Makefiles dynamically run the target C compiler to
> --
> 1.7.11.7
> 
> 
> 
> 


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

* Re: [PATCH] doc: change example to existing Makefile fragment
  2013-03-26  0:40 ` Rob Landley
@ 2013-04-08 10:42   ` Michal Marek
  2013-04-08 10:51     ` [PATCH v2] " Paul Bolle
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Marek @ 2013-04-08 10:42 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Rob Landley, linux-doc, linux-kernel

On 26.3.2013 01:40, Rob Landley wrote:
> On 03/25/2013 05:16:24 AM, Paul Bolle wrote:
>> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
>> ---
>>  Documentation/kbuild/makefiles.txt | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> Acked-by: Rob Landley <rob@landley.net>
> 
> Please send through the kbuild tree.

Paul,

can you send me the patch?

Thanks,
Michal

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

* [PATCH v2] doc: change example to existing Makefile fragment
  2013-04-08 10:42   ` Michal Marek
@ 2013-04-08 10:51     ` Paul Bolle
  2013-04-08 11:01       ` Michal Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Bolle @ 2013-04-08 10:51 UTC (permalink / raw)
  To: Michal Marek; +Cc: Rob Landley, linux-kbuild, linux-kernel

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Rob Landley <rob@landley.net>
---
v2: added Rob's ACK and send to Michal e.a., for the kbuild tree.

 Documentation/kbuild/makefiles.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 5198b74..020bb67 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -921,8 +921,9 @@ When kbuild executes, the following steps are followed (roughly):
 	Often, the KBUILD_CFLAGS variable depends on the configuration.
 
 	Example:
-		#arch/x86/Makefile
-		cflags-$(CONFIG_M386) += -march=i386
+		#arch/x86/boot/compressed/Makefile
+		cflags-$(CONFIG_X86_32) := -march=i386
+		cflags-$(CONFIG_X86_64) := -mcmodel=small
 		KBUILD_CFLAGS += $(cflags-y)
 
 	Many arch Makefiles dynamically run the target C compiler to
-- 
1.7.11.7


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

* Re: [PATCH v2] doc: change example to existing Makefile fragment
  2013-04-08 10:51     ` [PATCH v2] " Paul Bolle
@ 2013-04-08 11:01       ` Michal Marek
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Marek @ 2013-04-08 11:01 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Rob Landley, linux-kbuild, linux-kernel

On 8.4.2013 12:51, Paul Bolle wrote:
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> Acked-by: Rob Landley <rob@landley.net>
> ---
> v2: added Rob's ACK and send to Michal e.a., for the kbuild tree.

Thanks, applied to kbuild.git#misc.

Michal

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

end of thread, other threads:[~2013-04-08 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 10:16 [PATCH] doc: change example to existing Makefile fragment Paul Bolle
2013-03-26  0:40 ` Rob Landley
2013-04-08 10:42   ` Michal Marek
2013-04-08 10:51     ` [PATCH v2] " Paul Bolle
2013-04-08 11:01       ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.