Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Michal Marek
7aacad53 8a58e162

+4 -4
+1 -1
arch/arm/boot/Makefile
··· 12 12 # 13 13 14 14 ifneq ($(MACHINE),) 15 - include $(srctree)/$(MACHINE)/Makefile.boot 15 + include $(MACHINE)/Makefile.boot 16 16 endif 17 17 18 18 # Note: the following conditions must always be true:
+1 -1
arch/ia64/kernel/Makefile
··· 51 51 CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31 52 52 53 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 55 # tell compiled for native 56 56 CPPFLAGS_gate.lds += -D__IA64_GATE_PARAVIRTUALIZED_NATIVE 57 57
+1 -1
scripts/Makefile.dtbinst
··· 18 18 19 19 include include/config/auto.conf 20 20 include scripts/Kbuild.include 21 - include $(srctree)/$(obj)/Makefile 21 + include $(obj)/Makefile 22 22 23 23 PHONY += __dtbs_install_prep 24 24 __dtbs_install_prep:
+1 -1
scripts/Makefile.fwinst
··· 13 13 -include $(objtree)/.config 14 14 15 15 include scripts/Kbuild.include 16 - include $(srctree)/$(obj)/Makefile 16 + include $(obj)/Makefile 17 17 18 18 include scripts/Makefile.host 19 19