aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r--Documentation/kbuild/makefiles.txt5
1 files changed, 3 insertions, 2 deletions
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):
921 Often, the KBUILD_CFLAGS variable depends on the configuration. 921 Often, the KBUILD_CFLAGS variable depends on the configuration.
922 922
923 Example: 923 Example:
924 #arch/x86/Makefile 924 #arch/x86/boot/compressed/Makefile
925 cflags-$(CONFIG_M386) += -march=i386 925 cflags-$(CONFIG_X86_32) := -march=i386
926 cflags-$(CONFIG_X86_64) := -mcmodel=small
926 KBUILD_CFLAGS += $(cflags-y) 927 KBUILD_CFLAGS += $(cflags-y)
927 928
928 Many arch Makefiles dynamically run the target C compiler to 929 Many arch Makefiles dynamically run the target C compiler to