summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 20:16:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 20:16:04 +0200
commit0d932f42397abdd753da75baba4d65be18fa491e (patch)
treeb9ea4425b3b9fa1228df02d7a52868ff40f60a52 /toolchain/Makefile
parent23559cf12780863d6c672d8c9467c13ce6b535b5 (diff)
always build gdb for host
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index d0922507f..0454e4bef 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -15,7 +15,7 @@
include $(TOPDIR)/rules.mk
-TARGETS:=binutils gmp mpfr mpc libelf gcc
+TARGETS:=binutils gmp mpfr mpc libelf gcc gdb
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
TARGETS+=glibc
CLIB:=glibc
@@ -28,9 +28,6 @@ ifeq ($(ADK_TARGET_LIB_MUSL),y)
TARGETS+=musl
CLIB:=musl
endif
-ifeq ($(ADK_TOOLCHAIN_GDB),y)
-TARGETS+=gdb
-endif
DOWNLOAD:=kernel-headers-download $(patsubst %,%-download,$(TARGETS))
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
@@ -47,11 +44,7 @@ $(CLIB)-prepare: gcc-prepare kernel-headers-prepare
gcc-configure: $(CLIB)-prepare
$(CLIB)-compile: gcc-configure
gcc-compile: $(CLIB)-install
-ifeq ($(ADK_TOOLCHAIN_GDB),y)
$(CLIB)-fixup: gcc-install gdb-install
-else
-$(CLIB)-fixup: gcc-install
-endif
%-download:
$(TRACE) toolchain/$(patsubst %-download,%,$@)/download