diff options
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile index 9ab4b8ba83f4..265fdac07bb1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -28,9 +28,6 @@ GBUILDDIR := $(SOLARENV)/gbuild include $(GBUILDDIR)/gbuild.mk - -gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))) - -$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE))) +$(eval $(call gb_Module_make_global_targets,$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))) # vim: set noet sw=4 ts=4: |