]> git.droids-corp.org - dpdk.git/blobdiff - mk/internal/rte.extvars.mk
net/cxgbe: fix prefetch for non-coalesced Tx packets
[dpdk.git] / mk / internal / rte.extvars.mk
index 94f27e929bba2472fca3432da8f8be79e0cfdb29..98c860628a9ff9d5a60dfa2e58b00434356ec108 100644 (file)
@@ -20,7 +20,7 @@ ifeq ("$(origin M)", "command line")
 RTE_EXTMK := $(abspath $(M))
 endif
 endif
 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/.
 export RTE_EXTMK
 
 # RTE_SDK_BIN must point to .config, include/ and lib/.