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>
This commit is contained in:
Masahiro Yamada 2015-03-27 20:43:35 +09:00 committed by Michal Marek
parent 8a58e1628c
commit 7aacad53ae
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
#
ifneq ($(MACHINE),)
include $(srctree)/$(MACHINE)/Makefile.boot
include $(MACHINE)/Makefile.boot
endif
# Note: the following conditions must always be true:

View File

@ -51,7 +51,7 @@ obj-$(CONFIG_BINFMT_ELF) += elfcore.o
CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31
# The gate DSO image is built using a special linker script.
include $(srctree)/arch/ia64/kernel/Makefile.gate
include arch/ia64/kernel/Makefile.gate
# tell compiled for native
CPPFLAGS_gate.lds += -D__IA64_GATE_PARAVIRTUALIZED_NATIVE

View File

@ -18,7 +18,7 @@ export dtbinst-root ?= $(obj)
include include/config/auto.conf
include scripts/Kbuild.include
include $(srctree)/$(obj)/Makefile
include $(obj)/Makefile
PHONY += __dtbs_install_prep
__dtbs_install_prep:

View File

@ -13,7 +13,7 @@ src := $(obj)
-include $(objtree)/.config
include scripts/Kbuild.include
include $(srctree)/$(obj)/Makefile
include $(obj)/Makefile
include scripts/Makefile.host