mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
doc: change example to existing Makefile fragment
Signed-off-by: Paul Bolle <[email protected]> Acked-by: Rob Landley <[email protected]> Signed-off-by: Michal Marek <[email protected]>
This commit is contained in:
parent
987d0c8e9d
commit
ff4eb04c88
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue