From 120c1e65ea804e1a642c2b1c33e96139c9875e2c Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 19 Nov 2018 11:06:09 +0100 Subject: [PATCH] commit 0c82755 broke creation of dependency files for 3.14.8 --- App/tools/driver.makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index b1acff3..b545fc8 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -694,14 +694,16 @@ endif # !USE_EXACT_VERSION # Create and include dependency files. # 3.13 does not make those files at all. -# 3.14.8 uses HDEPENDS to select depends mode. +# 3.14.8 uses HDEPENDS=YES to select depends mode. # 3.14.12 uses 'HDEPENDSCFLAGS -MMD' # 3.15 uses 'HDEPENDS_COMPFLAGS = -MM -MF $@' # For newer compilers they are ok and ignore files in system directories. # For old vxWorks gcc those rules ignore #include <...>, # which may be falsey used for non-system headers. +ifdef HDEPENDS +CPPFLAGS += -MMD +endif ifneq (,$(filter T2-%,$(T_A))) -HDEPENDS = HDEPENDS_METHOD = COMP HDEPENDS_COMPFLAGS = -c CPPFLAGS += -MD