diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-27 12:43:36 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-02 16:42:08 +0200 |
commit | a436bb7b806383ae0593cab53d17fc9676270cd3 (patch) | |
tree | 4d51b1a8b5474fd0d3000f5026032efc71a961b0 /arch/x86/Makefile.um | |
parent | kbuild: use relative path to include Makefile (diff) | |
download | linux-a436bb7b806383ae0593cab53d17fc9676270cd3.tar.xz 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.um')
-rw-r--r-- | arch/x86/Makefile.um | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Makefile.um b/arch/x86/Makefile.um index 95eba554baf9..5b7e898ffd9a 100644 --- a/arch/x86/Makefile.um +++ b/arch/x86/Makefile.um @@ -18,7 +18,7 @@ LDS_EXTRA := -Ui386 export LDS_EXTRA # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y. -include $(srctree)/arch/x86/Makefile_32.cpu +include arch/x86/Makefile_32.cpu # prevent gcc from keeping the stack 16 byte aligned. Taken from i386. cflags-y += $(call cc-option,-mpreferred-stack-boundary=2) |