From f37da1684f5ecc03ffadf85e9eca01d8c378a1c7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 10 Jun 2015 10:54:21 -0500 Subject: update gdb, enable sim only for supported architectures --- toolchain/gdb/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'toolchain/gdb/Makefile') 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 -- cgit v1.2.3