diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-27 07:43:35 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-04-02 10:42:08 -0400 |
commit | 7aacad53aeb57b7ff52399f56eb6d7d4010e72e9 (patch) | |
tree | d698b3eef4d545a011dc71fbf2fa70b65d8e9cbf | |
parent | 8a58e1628ce4416490fb00e958b867fb5b9b1f90 (diff) |
kbuild: use relative path to include Makefile
The "MAKEFLAGS += --include-dir=$(srctree)" line in the top Makefile
allows us to do this.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | arch/arm/boot/Makefile | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/Makefile | 2 | ||||
-rw-r--r-- | scripts/Makefile.dtbinst | 2 | ||||
-rw-r--r-- | scripts/Makefile.fwinst | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile index ec2f8065f955..9eca7aee927f 100644 --- a/arch/arm/boot/Makefile +++ b/arch/arm/boot/Makefile | |||
@@ -12,7 +12,7 @@ | |||
12 | # | 12 | # |
13 | 13 | ||
14 | ifneq ($(MACHINE),) | 14 | ifneq ($(MACHINE),) |
15 | include $(srctree)/$(MACHINE)/Makefile.boot | 15 | include $(MACHINE)/Makefile.boot |
16 | endif | 16 | endif |
17 | 17 | ||
18 | # Note: the following conditions must always be true: | 18 | # Note: the following conditions must always be true: |
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile index 20678a9ed11a..47e8aff03591 100644 --- a/arch/ia64/kernel/Makefile +++ b/arch/ia64/kernel/Makefile | |||
@@ -51,7 +51,7 @@ obj-$(CONFIG_BINFMT_ELF) += elfcore.o | |||
51 | CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31 | 51 | CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31 |
52 | 52 | ||
53 | # The gate DSO image is built using a special linker script. | 53 | # The gate DSO image is built using a special linker script. |
54 | include $(srctree)/arch/ia64/kernel/Makefile.gate | 54 | include arch/ia64/kernel/Makefile.gate |
55 | # tell compiled for native | 55 | # tell compiled for native |
56 | CPPFLAGS_gate.lds += -D__IA64_GATE_PARAVIRTUALIZED_NATIVE | 56 | CPPFLAGS_gate.lds += -D__IA64_GATE_PARAVIRTUALIZED_NATIVE |
57 | 57 | ||
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index 909ed7a2ac61..7cbff167341f 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst | |||
@@ -18,7 +18,7 @@ export dtbinst-root ?= $(obj) | |||
18 | 18 | ||
19 | include include/config/auto.conf | 19 | include include/config/auto.conf |
20 | include scripts/Kbuild.include | 20 | include scripts/Kbuild.include |
21 | include $(srctree)/$(obj)/Makefile | 21 | include $(obj)/Makefile |
22 | 22 | ||
23 | PHONY += __dtbs_install_prep | 23 | PHONY += __dtbs_install_prep |
24 | __dtbs_install_prep: | 24 | __dtbs_install_prep: |
diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst index 5b698add4f31..baf5eaedb278 100644 --- a/scripts/Makefile.fwinst +++ b/scripts/Makefile.fwinst | |||
@@ -13,7 +13,7 @@ src := $(obj) | |||
13 | -include $(objtree)/.config | 13 | -include $(objtree)/.config |
14 | 14 | ||
15 | include scripts/Kbuild.include | 15 | include scripts/Kbuild.include |
16 | include $(srctree)/$(obj)/Makefile | 16 | include $(obj)/Makefile |
17 | 17 | ||
18 | include scripts/Makefile.host | 18 | include scripts/Makefile.host |
19 | 19 | ||