public inbox for linux-kernel@vger.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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox