[dpdk-dev] mk: fix error message

Message ID 1456933942-9148-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon March 2, 2016, 3:52 p.m. UTC
  When specifying a wrong directory with RTE_SDK and RTE_TARGET
to build an application, the error message about missing config
file was wrong.

Fixes: 6b62a72a70d0 ("mk: install a standard cutomizable tree")

Reported-by: Steeven Lee <steeven@gmail.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 mk/internal/rte.extvars.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Thomas Monjalon March 3, 2016, 10:39 a.m. UTC | #1
2016-03-02 16:52, Thomas Monjalon:
> When specifying a wrong directory with RTE_SDK and RTE_TARGET
> to build an application, the error message about missing config
> file was wrong.
> 
> Fixes: 6b62a72a70d0 ("mk: install a standard cutomizable tree")
> 
> Reported-by: Steeven Lee <steeven@gmail.com>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied
  

Patch

diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk
index 040d39f..e2462fd 100644
--- a/mk/internal/rte.extvars.mk
+++ b/mk/internal/rte.extvars.mk
@@ -54,7 +54,7 @@  export RTE_EXTMK
 # RTE_SDK_BIN must point to .config, include/ and lib/.
 RTE_SDK_BIN := $(RTE_SDK)/$(RTE_TARGET)
 ifeq ($(wildcard $(RTE_SDK_BIN)/.config),)
-$(error Cannot find .config in $(RTE_SDK))
+$(error Cannot find .config in $(RTE_SDK_BIN))
 endif
 
 #