From: Paul Bolle Date: Mon, 8 Apr 2013 10:51:25 +0000 (+0200) Subject: doc: change example to existing Makefile fragment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff4eb04c88588118a4c0f0b8308c9c475f3bc9fe;p=linux-beck.git doc: change example to existing Makefile fragment Signed-off-by: Paul Bolle Acked-by: Rob Landley Signed-off-by: Michal Marek --- diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 5198b742fde1..020bb67586ef 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