summaryrefslogtreecommitdiffstats
path: root/make/gdb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/gdb.mk')
-rw-r--r--make/gdb.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/gdb.mk b/make/gdb.mk
index 0226f3501..bc8a4b757 100644
--- a/make/gdb.mk
+++ b/make/gdb.mk
@@ -20,9 +20,11 @@ $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked
AR=$(TARGET_CROSS)ar NM=$(TARGET_CROSS)nm \
LD=$(TARGET_CROSS)ld AS=$(TARGET_CROSS)as \
./configure --prefix=/usr \
+ --target=$(GNU_TARGET_NAME) \
--includedir=$(STAGING_DIR)/include \
--disable-nls --without-uiout --disable-gdbmi \
--disable-tui --disable-gdbtk --without-x \
+ --disable-sim --enable-gdbserver \
--without-included-gettext);
touch $(GDB_DIR)/.configured