summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-07 10:35:44 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-07 11:18:49 -0500
commitf83f969bb5f008e1c1265d0e34d1fc600cb9e0e5 (patch)
tree7c084e59d042c48d7870063cdc320f4682af4a9b /toolchain
parent2a310dda3155e05505eaa2b16e2c4bc81aa88239 (diff)
disable for non SIM targets
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gdb/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 9728e3815..b3538a75d 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -9,6 +9,11 @@ include ${ADK_TOPDIR}/mk/buildhlp.mk
ifeq (${ADK_MAKE_PARALLEL},y)
GDB_MAKEOPTS+= -j${ADK_MAKE_JOBS}
endif
+ifeq ($(ADK_TARGET_SIM),y)
+CONFIGURE_ARGS:= --enable-sim
+else
+CONFIGURE_ARGS:= --disable-sim
+endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
@@ -29,12 +34,12 @@ $(WRKBUILD)/.configured:
--disable-nls \
--with-curses \
--enable-threads \
- --enable-sim \
--disable-tui \
--disable-werror \
--disable-install-libiberty \
--without-python \
--without-x \
+ $(CONFIGURE_ARGS) \
);
touch $@