aboutsummaryrefslogtreecommitdiffstats
path: root/mk/internal/rte.extvars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/internal/rte.extvars.mk')
-rw-r--r--mk/internal/rte.extvars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk
index e2462fd2..ea41ebfe 100644
--- a/mk/internal/rte.extvars.mk
+++ b/mk/internal/rte.extvars.mk
@@ -48,7 +48,7 @@ ifeq ("$(origin M)", "command line")
RTE_EXTMK := $(abspath $(M))
endif
endif
-RTE_EXTMK ?= $(RTE_SRCDIR)/Makefile
+RTE_EXTMK ?= $(RTE_SRCDIR)/$(notdir $(firstword $(MAKEFILE_LIST)))
export RTE_EXTMK
# RTE_SDK_BIN must point to .config, include/ and lib/.