Skip to content

Commit

Permalink
kbuild: use relative path to include Makefile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Michal Marek committed Apr 2, 2015
1 parent 8a58e16 commit 7aacad5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#

ifneq ($(MACHINE),)
include $(srctree)/$(MACHINE)/Makefile.boot
include $(MACHINE)/Makefile.boot
endif

# Note: the following conditions must always be true:
Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/Makefile.dtbinst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/Makefile.fwinst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ src := $(obj)
-include $(objtree)/.config

include scripts/Kbuild.include
include $(srctree)/$(obj)/Makefile
include $(obj)/Makefile

include scripts/Makefile.host

Expand Down

0 comments on commit 7aacad5

Please sign in to comment.