From a88e61c578dad190e828b49df433776426e1c7d2 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 20 Sep 2021 14:51:48 +0200 Subject: [PATCH] search for Record.dbd in dir of Record.c/cc/cpp too --- App/tools/driver.makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index ecd9d50..22a9b4e 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -754,8 +754,8 @@ endif -include $(filter-out %.h.d,$(wildcard *.d)) # Need to find source dbd files relative to one dir up but generated dbd files in this dir. -DBDFILES += ${DBD_SRCS:%=../%} -DBD_PATH = $(sort $(dir ${DBDFILES})) +DBDFILES += $(addprefix ../,${DBD_SRCS}) +DBD_PATH = $(sort $(dir ${DBDFILES} $(addprefix ../,$(filter %Record.c %Record.cc %Record.cpp,${SRCS})))) DBDEXPANDPATH = $(addprefix -I , ${DBD_PATH} ${EPICS_BASE}/dbd) USR_DBDFLAGS += $(DBDEXPANDPATH)