From 945517205f9ebee71d1fe880e8a19c21b5d352c1 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 9 Mar 2017 01:20:20 -0600 Subject: [PATCH] Revert "build: Fix qemugdb target" This reverts commit 370571b563a5c9940aa65288801cd5e35d7ecab3 which breaks the build in weird ways since we end up some times include Makefile bits multiple times and getting unexpected behavior. Its also not clear if this actually fixes the issue with make qemugdb target work again. Change-Id: I1a04881daabc0a37651906a42b1bf1fb27f9411f Signed-off-by: Kumar Gala --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index cf0efbc5eae..a356bc4d240 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -96,7 +96,7 @@ qemu: $(DOTCONFIG) run: $(DOTCONFIG) $(Q)$(call zephyrmake,$(O),$@) -ifeq ($(MAKECMDGOALS),$(filter $(MAKECMDGOALS),debugserver qemugdb)) +ifeq ($(MAKECMDGOALS),debugserver) ARCH = $(notdir $(subst /$(BOARD),,$(wildcard $(ZEPHYR_BASE)/boards/*/$(BOARD)))) -include $(ZEPHYR_BASE)/boards/$(ARCH)/$(BOARD)/Makefile.board -include $(ZEPHYR_BASE)/scripts/Makefile.toolchain.$(ZEPHYR_GCC_VARIANT)