+2018-04-19 Simon Marchi <simon.marchi@ericsson.com>
+
+ * Makefile.in (depcomp): Add "..".
+ (all_deps_files): New and use it.
+
2018-04-18 Alan Hayward <alan.hayward@arm.com>
* configure.srv (aarch64*-*-linux*): Don't include xml.
# Dependency tracking information.
DEPMODE = @CCDEPMODE@
DEPDIR = @DEPDIR@
-depcomp = $(SHELL) $(srcdir)/../depcomp
+depcomp = $(SHELL) $(srcdir)/../../depcomp
# Directory containing source files. Don't clean up the spacing,
# this exact string is matched for by the "configure" script.
$(all_object_files) : $(generated_files)
endif
+# All the .deps files to include.
+all_deps_files = $(foreach dep,$(patsubst %.o,%.Po,$(all_object_files)),\
+ $(dir $(dep))/$(DEPDIR)/$(notdir $(dep)))
+
# Dependencies.
--include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
+-include $(all_deps_files)
# Disable implicit make rules.
include $(srcdir)/../disable-implicit-rules.mk