From e083e9bcb88865af2f93533219848461b868310a Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Thu, 30 Jan 2014 11:34:04 +0100 Subject: [PATCH] configure debug target for native --- boards/native/Makefile.include | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index 9b7acbda64..db34624888 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -17,7 +17,6 @@ LINKFLAGS += -m32 -gc -ldl TERMPROG = $(BINDIR)/$(PROJECT).elf FLASHER = true - ifneq (,$(findstring nativenet,$(USEMODULE))) ifeq ($(strip $(PORT)),) export PORT = tap0 @@ -26,4 +25,7 @@ else export PORT = endif +DEBUGGER = gdb +DEBUGGER_FLAGS = $(BINDIR)$(PROJECT).elf + include $(RIOTBOARD)/$(BOARD)/Makefile.dep