summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2016-06-23 11:33:55 -0700
committerAndrew Boie <andrew.p.boie@intel.com>2016-06-28 15:56:05 -0700
commitbe13e26586bb5fb7692ee9b772ff7a0b16fb65bc (patch)
tree8820781e9221218428ee9e1c48585baa77694a9d /Makefile.inc
parent54b58827b044393bf9f7a7f69f449a8e9cfdb120 (diff)
build: add 'qemugdb' target
This new target works much like 'make qemu' but fires up a local GDB server on port 1234 and pauses execution Change-Id: I87fd174c66dcc9f2f43b5b1204cc5c34f741622d Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 8faee89ae..289f9b677 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -75,9 +75,12 @@ all: $(DOTCONFIG)
ifeq ($(findstring qemu_,$(BOARD)),)
qemu:
@echo "Emulation not available for this platform"
+qemugdb: qemu
else
qemu: $(DOTCONFIG)
$(Q)$(call zephyrmake,$(O),$@)
+qemugdb: $(DOTCONFIG)
+ $(Q)$(call zephyrmake,$(O),$@)
endif
debug: $(DOTCONFIG)