[dpdk-dev] apps: Added default target in netmap_compat app Makefile

Message ID 1412203376-11075-1-git-send-email-pablo.de.lara.guarch@intel.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

De Lara Guarch, Pablo Oct. 1, 2014, 10:42 p.m. UTC
  Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 examples/netmap_compat/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
  

Comments

Thomas Monjalon Oct. 9, 2014, 7:17 p.m. UTC | #1
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied

Thanks
  

Patch

diff --git a/examples/netmap_compat/Makefile b/examples/netmap_compat/Makefile
index d398e5f..52d8086 100644
--- a/examples/netmap_compat/Makefile
+++ b/examples/netmap_compat/Makefile
@@ -33,6 +33,9 @@  ifeq ($(RTE_SDK),)
 $(error "Please define RTE_SDK environment variable")
 endif
 
+# Default target, can be overriden by command line or environment
+RTE_TARGET ?= x86_64-native-linuxapp-gcc
+
 include $(RTE_SDK)/mk/rte.vars.mk
 unexport RTE_SRCDIR RTE_OUTPUT RTE_EXTMK