summaryrefslogtreecommitdiffstats
path: root/make/gdbserver.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/gdbserver.mk')
-rw-r--r--make/gdbserver.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/gdbserver.mk b/make/gdbserver.mk
index e9e04da5d..c1ef1f1aa 100644
--- a/make/gdbserver.mk
+++ b/make/gdbserver.mk
@@ -12,10 +12,10 @@ GDB_WDIR:=$(BUILD_DIR)/gdbserver
$(GDB_WDIR)/.configured: $(GDB_DIR)/.unpacked
mkdir -p $(GDB_WDIR)
(cd $(GDB_WDIR); rm -rf config.cache; \
- PATH=$(STAGING_DIR)/bin:$$PATH AR=$(TARGET_CROSS)ar \
+ AR=$(TARGET_CROSS)ar \
AS=$(TARGET_CROSS)as LD=$(TARGET_CROSS)ld \
RANLIB=$(TARGET_CROSS)ranlib NM=$(TARGET_CROSS)nm \
- CC=$(TARGET_CC) \
+ PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
$(GDB_DIR)/gdb/gdbserver/configure \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \