summaryrefslogtreecommitdiff
path: root/toolchain/gdb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:54:21 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:54:28 -0500
commitf37da1684f5ecc03ffadf85e9eca01d8c378a1c7 (patch)
tree7e0bfad3d3245a8923d9cf54d2aac51e2a216e13 /toolchain/gdb/Makefile
parent348fad38b9858144a1bab78662c47fc6ec8599d5 (diff)
update gdb, enable sim only for supported architectures
Diffstat (limited to 'toolchain/gdb/Makefile')
-rw-r--r--toolchain/gdb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index b3538a75d..8d9455629 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -15,6 +15,12 @@ else
CONFIGURE_ARGS:= --disable-sim
endif
+ifeq ($(ADK_TARGET_SIM),y)
+CONFIGURE_ARGS:= --enable-sim
+else
+CONFIGURE_ARGS:= --disable-sim
+endif
+
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
$(SED) 's/install_to_$(INSTALL_DEST) //' ${WRKBUILD}/libiberty/Makefile.in