@ -10,9 +10,10 @@ NAME =
# Comments in this file are targeted only to the developer, do not
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
# expect to learn how to build the kernel reading this file.
# Do not use make's built-in rules and variables
# o Do not use make's built-in rules and variables
# (this increases performance and avoids hard-to-debug behaviour);
# (this increases performance and avoids hard-to-debug behaviour);
MAKEFLAGS += -rR
# o Look for make include files relative to root of kernel src
MAKEFLAGS += -rR --include-dir= $( CURDIR)
# Avoid funny character set dependencies
# Avoid funny character set dependencies
u n export LC_ALL
u n export LC_ALL
@ -319,12 +320,9 @@ endif
export KBUILD_MODULES KBUILD_BUILTIN
export KBUILD_MODULES KBUILD_BUILTIN
export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
# Look for make include files relative to root of kernel src
MAKEFLAGS += --include-dir= $( srctree)
# We need some generic definitions (do not try to remake the file).
# We need some generic definitions (do not try to remake the file).
$(srctree)/ scripts/Kbuild.include: ;
scripts/Kbuild.include : ;
i n c l u d e $( srctree ) / s c r i p t s / K b u i l d . i n c l u d e
i n c l u d e s c r i p t s / K b u i l d . i n c l u d e
# Make variables (CC, etc...)
# Make variables (CC, etc...)
@ -518,8 +516,8 @@ ifneq ($(wildcard include/config/auto.conf),)
autoconf_is_old := $( shell find . -path ./$( KCONFIG_CONFIG) -newer \
autoconf_is_old := $( shell find . -path ./$( KCONFIG_CONFIG) -newer \
include/config/auto.conf)
include/config/auto.conf)
i f e q ( $( autoconf_is_old ) , )
i f e q ( $( autoconf_is_old ) , )
i n c l u d e $( srctree ) / c o n f i g . m k
i n c l u d e c o n f i g . m k
i n c l u d e $( srctree ) / a r c h / $( ARCH ) / M a k e f i l e
i n c l u d e a r c h / $( ARCH ) / M a k e f i l e
e n d i f
e n d i f
e n d i f
e n d i f
e n d i f
e n d i f
@ -595,7 +593,7 @@ endif
export CONFIG_SYS_TEXT_BASE
export CONFIG_SYS_TEXT_BASE
i n c l u d e $( srctree ) / s c r i p t s / M a k e f i l e . e x t r a w a r n
i n c l u d e s c r i p t s / M a k e f i l e . e x t r a w a r n
# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
KBUILD_CPPFLAGS += $( KCPPFLAGS)
KBUILD_CPPFLAGS += $( KCPPFLAGS)