diff --git a/require-ess/tools/driver.makefile b/require-ess/tools/driver.makefile
index b12421ab8dcdbc2bf8637caedb5229881b0d90ea..f38bce8e07d47ffe1285ea7c3f9b13cbd07d17f5 100644
--- a/require-ess/tools/driver.makefile
+++ b/require-ess/tools/driver.makefile
@@ -83,14 +83,9 @@ MODULE_LOCATION =${EPICS_MODULES}/$(or ${PRJ},$(error PRJ not defined))/$(or ${L
 # Override config here:
 -include ${MAKEHOME}/config
 
-# Use fancy glob to find latest versions.
-SHELL = /bin/bash -O extglob
-
 # Some shell commands:
 RMDIR = rm -rf
 LN = ln -s
-EXISTS = test -e
-NM = nm
 RM = rm -f
 CP = cp
 MKDIR = mkdir -p -m 775
@@ -101,7 +96,6 @@ VERSIONREGEX = [0-9]+\.[0-9]+\.[0-9]+(\+[0-9]+)?
 # Some generated file names:
 VERSIONFILE = ${PRJ}_version_${LIBVERSION}.c
 REGISTRYFILE = ${PRJ}_registerRecordDeviceDriver.cpp
-SUBFUNCFILE = ${PRJ}_subRecordFunctions.dbd
 DEPFILE = ${PRJ}.dep
 METAFILE = ${PRJ}_meta.yaml
 
@@ -199,7 +193,6 @@ ifndef T_A
 
 AUTOSRCS := $(filter-out ~%,$(wildcard *.c *.cc *.cpp *.st *.stt *.gt))
 SRCS = $(if ${SOURCES},$(filter-out -none-,${SOURCES}),${AUTOSRCS})
-#SRCS += ${SOURCES_${EPICSVERSION}}
 export SRCS
 
 DBD_SRCS = $(if ${DBDS},$(filter-out -none-,${DBDS}),$(wildcard menu*.dbd *Record.dbd) $(strip $(filter-out %Include.dbd dbCommon.dbd %Record.dbd,$(wildcard *.dbd)) ${BPTS}))