Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff4eb04c authored by Paul Bolle's avatar Paul Bolle Committed by Michal Marek
Browse files

doc: change example to existing Makefile fragment

parent 987d0c8e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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