summaryrefslogtreecommitdiff
path: root/toolchain/gdb/Makefile
diff options
context:
space:
mode:
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