[dpdk-dev] [PATCH v1] mk: fix external build failure

Marko Kovacevic marko.kovacevic at intel.com
Mon Feb 5 11:22:43 CET 2018


Updated the make build to fix external build issues

Fixes: 3a5c339d51a4 ("mk: support renamed Makefile in external project")
Cc: stable at dpdk.org

Signed-off-by: Marko Kovacevic <marko.kovacevic at intel.com>
---
 mk/internal/rte.extvars.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk
index 19594da..98c8606 100644
--- a/mk/internal/rte.extvars.mk
+++ b/mk/internal/rte.extvars.mk
@@ -20,7 +20,7 @@ ifeq ("$(origin M)", "command line")
 RTE_EXTMK := $(abspath $(M))
 endif
 endif
-RTE_EXTMK ?= $(RTE_SRCDIR)/$(firstword $(MAKEFILE_LIST))
+RTE_EXTMK ?= $(RTE_SRCDIR)/$(notdir $(firstword $(MAKEFILE_LIST)))
 export RTE_EXTMK
 
 # RTE_SDK_BIN must point to .config, include/ and lib/.
-- 
2.9.5



More information about the dev mailing list