提交 ff4eb04c 编写于 作者: P Paul Bolle 提交者: Michal Marek

doc: change example to existing Makefile fragment

Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
Acked-by: NRob Landley <rob@landley.net>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 987d0c8e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册