diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-27 20:43:36 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-02 16:42:08 +0200 |
commit | a436bb7b806383ae0593cab53d17fc9676270cd3 (patch) | |
tree | 4d51b1a8b5474fd0d3000f5026032efc71a961b0 /arch/x86/Makefile | |
parent | 7aacad53aeb57b7ff52399f56eb6d7d4010e72e9 (diff) | |
download | linux-a436bb7b806383ae0593cab53d17fc9676270cd3.tar.gz linux-a436bb7b806383ae0593cab53d17fc9676270cd3.tar.bz2 linux-a436bb7b806383ae0593cab53d17fc9676270cd3.zip |
kbuild: use relative path more to include Makefile
Prior to this commit, it was impossible to use relative path to
include Makefiles from the top level Makefile because the option
"--include-dir=$(srctree)" becomes effective when Make enters into
sub Makefiles.
To use relative path in any places, this commit moves the option
above the "sub-make" target.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 5ba2d9ce82dc..2fda005bb334 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -63,7 +63,7 @@ ifeq ($(CONFIG_X86_32),y) $(call cc-option,-fno-unit-at-a-time)) # CPU-specific tuning. Anything which can be shared with UML should go here. - include $(srctree)/arch/x86/Makefile_32.cpu + include arch/x86/Makefile_32.cpu KBUILD_CFLAGS += $(cflags-y) # temporary until string.h is fixed |